Sunday, April 8, 2012

Command remove a full directory in Linux

If you want to delete a directory full of other files or directories, use the below command.

rm -rf directory

Labels:

Tuesday, April 3, 2012

How to clear memory caches on Linux

You can clear the memory cache on linux with the command :

sync; echo 3 > /proc/sys/vm/drop_caches

Labels: