January 1st, 2013, 02:19 PM
Command Line : Sooooo Basic. Takes one second.
Might seem stupid to you... but I do not know anything about programming for now...
Anyway I was practicing command lining
and see a code
$ mkdir -p temp/stuff/things/frank/joe/alex/john
I know what that means without "-p"
"-p" does what in this line?
I was googling about this only to find it not to recognize the hyphen...
Please help me.
Last edited by weonthewave; January 1st, 2013 at 02:20 PM.
January 1st, 2013, 03:04 PM
If you're on a unix system, mkdir -p creates the intervening directories if they don't exist.
$ man mkdir
If you're on a DOS system, ask someone else. To me, your question is quasi-ambiguous.
[/code] are essential for python code and Makefiles!
January 1st, 2013, 03:17 PM
Oh thanks. It makes sense in Windows too.
Originally Posted by b49P23TIvg
January 2nd, 2013, 12:55 PM
Just try searching without the hypen. Top hit is a Wiki page that explains all about it.
Originally Posted by weonthewave
January 3rd, 2013, 06:43 AM
On the assumption you are at a *nix shell prompt, you can always try the man command - just specify which command you are after,:
Some admins set up the man pages with key word searching, so you may be able, if you are not sure of the exact command, to find it with man -k and a search word. I just tried man -k directory which showed some useful hits, but not a direct hit, I then tried and lo ...
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc