Sunday, October 25, 2009

Linux CLI - Remove/Delete



1. To remove files
rm


2. To remove empty directory
rmdir 


3. To remove a directory along with all of its contents, type:
rm -fr

*use this with caution as there is no undelete.


4. To uninstall packages
apt-get remove  

No comments:

Post a Comment