Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is .netrc file by default provided in the linux home directory or do we have to create it manualy. I am not able to find it .in ~/home Rgds Rp

share|improve this question

migrated from Jun 29 '13 at 22:51

This question came from our site for professional and enthusiast programmers.

no, it does not exist by default, it needs to be created manually. make sure the file isn't readable by any other user, as passwords stored within are plaintext. – mata Jun 29 '13 at 20:43
~/home is the wrong location. If it's present at all, it is at ~/.netrc. – ott-- Jun 30 '13 at 22:50
up vote 2 down vote accepted

No, it is not provided by default and you have to create it manually, because after all, it contains your own credentials. Just create it with your favorite editor, and it would work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.