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.

Comments

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

    ReplyDelete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

Increase Free Space On HTC Desire Android Phones

Giving Out Google Wave Invitations