Monday, May 4, 2009

Linux Guru Tip No 1

Never use relative path while you use rm command. Always use absolute path.

There are many cases while people do sudo rm -rf ./ and accidentally run the command again from history after changing their working directory.

Absolute path ends as you delete the folder while relative path exists on basis of where your working directory is.

1 comment:

  1. nice post. visit my site http://technoexplore.blogspot.com for other linux related information

    ReplyDelete