good linux mkdir usage

Most people only know mkdir the simple way. The simple way being
[code]mkdir-simple[/code]
I will give you some tips howto use mkdir, the “advanced” way.
All of the above commands could be done in a single command.
[code]mkdir-advanced[/code]
It is alot easier to use the -p option with mkdir, and make all subdirectories with a single command. Even after you read this post, you will catch yourself using the ‘cd’ way…
try to avoid that, it will save you alot of time.

No comments:

Post a Comment