Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clean (delete) temporary files if they exist in Ubuntu OS? [closed]

I need to do a lot of cleaning in my virtual machine whose operating system is Ubuntu.

Normally in Windows, there is this kind of directory that contains temporary files and that should be cleaned:

C:\Documents and Settings\Administrator\Local Settings\Temp

Does it exist such a directory in Ubuntu? If yes, what is it?

like image 873
Ashish Detroja Avatar asked Nov 06 '15 06:11

Ashish Detroja


1 Answers

run this in shell:

sudo rm -rf /tmp/*
like image 63
Dmitry Stril Avatar answered Oct 21 '22 05:10

Dmitry Stril