Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Getting rid of unwanted files

Tech Computer Center logo

Once you have no more need for a disk file, you can get rid of it permanently by using the Unix rm command.

Warning! When you remove a file, it is gone forever. There is no easy way to get it back. Please be careful that you do not remove a file that you really need.

To delete a file from your account, enter this command:

      % rm name
where name identifies the file you want to remove.

You can remove more than one file at a time. For example, this command

      % rm oldbills oldnotes badjokes
would remove the three named files.
See also: Organizing your files; Making a copy of a file
Previous: Changing the name of a file
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT
URL: http://www.nmt.edu/tcc/help/unix/rm.html
QR two-dimensional bar code