Making dirs in linux

I sometimes forget how to do stuff so I think I will start writing it down….

Here is how to makes some dirs…

make one dir

mkdir the_dir

make a whole path

mdkir -p ~/the/path/of/dirs/to/make

make a dir with more dirs inside it

mikdir -p a_dir/{inside_dir,inside_dir2}

I will probably remember it all now…

About phil

Complex Systems Scientist.
This entry was posted in Linux Tips. Bookmark the permalink.