Ask your own question, for FREE!
Computer Science 9 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!
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!