6

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?

Biffen
  • 6,249
  • 6
  • 28
  • 36
Ashish Detroja
  • 1,084
  • 3
  • 10
  • 32

2 Answers2

16

run this in shell:

sudo rm -rf /tmp/*
Dmitry Stril
  • 1,385
  • 4
  • 16
  • 34
0

On Ubuntu and other unices, it is /tmp. It is automatically cleaned up when the machine reboots.

davejagoda
  • 2,420
  • 1
  • 20
  • 27