next up previous contents index
Next: Copying Files Up: Managing Files and Directories Previous: Moving Files   Contents   Index

Deleting Files

In order to delete a file you can type rm before the file name:

bash$ rm newfile3.txt

You can also delete a whole directory and all of the files in it including sub-directories with the rm command with the -R switch:

bash$ rm temp -R



Joseph Colton 2002-09-24