Custom Search
Add to Technorati Favorites

Saturday, December 13, 2008

File and Folder Browsing Command

To view current working directories
#pwd

Deletes a file without confirmation (by default)

ex:-

#rm myfile.txt

Remove the file myfile.txt

Deletes a directory

#rmdir mydir - removes the directory mydir

#rm -r directory - would remove a directory, even if files existed in that directory

No comments: