next up previous
Next: Manual Pages Up: Telnet Previous: More

Delete

TO delete a file under UNIX use
\begin{emph}
rm filename \end{emph}
. As a safety precaution to avoid deleting files that you want, edit your startup file as
cd # to make sure you are in the right place
pico .cshrc # to edit the startup file

then add the following lines at or near the end of this file:

alias rm 'rm -i' # safe remove

alias cp 'cp -i' # safe copy

alias mv 'mv -i' # safe move

Save the file. You only need to do this once.



Yousef Haik
2/23/1998