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. nice post. visit my site for other linux related information


Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Squid Access.log Meaning Explained

Logging Handler With Buffering And Uses Amazon SES For Python

[Solved] invalid partition table on /dev/sda -- wrong signature 0.