Alias can be very useful. One example is that if you enter the remove command on wrong file by mistake it would be damn difficult to obtain it back. Because removal of file through terminal doesn't send the file to Trash.
so each time you can run a command to remove as
but again by mistake you can type rm file.txt
what you can do is add an alias for rm command. i.e, you can make the default "rm" command as "rm -i"
This is how to do it.
Showing posts with label alias. Show all posts
Showing posts with label alias. Show all posts
Monday, May 10, 2010
Subscribe to:
Posts (Atom)