next up previous contents
Next: Dealing with odd file Up: Basic File Commands Previous: Rename   Contents

Delete

To delete a file use the rm (short for remove) command, e.g.:-

rm f1
deletes f1. Use the -i option to get UNIX to ask for confirmation (most useful if using wildcards).



P.D. Gronbech (IT Staff) 2015-10-02