Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

I'm new to the terminal. I know what mkdir does, but was is the rest of it doing? mkdir -p ~/.ssh

OpenStudy (anonymous):

OpenStudy (e.mccormick):

On *NIX the -p tells it to make any parent directories as needed... which is kind of overkill because the ~ is the home directory for the present user.... which should always exist. The /. is to make an invisible directory.

OpenStudy (anonymous):

Oh, okay, thanks.

OpenStudy (e.mccormick):

Yah, that is all a *NIX thing. Would be different in Windows/DOS.

OpenStudy (e.mccormick):

I looked it up to be sure, and -p also supresses errors if the directory already exists. So they are probably using it for that aspect.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
22 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!