How to Create Directories


show more Creating directories provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

Creating directories

I want us to see how we can go back creating directories that we could put our files into. Directories are essentially folders, but in Unix you are always going to call them directories. So start getting use to that terminology. Instead of calling it a folder, call it a directory. Making a directory is really simple. We just say mkdir, space, and then the name of the directory we want. So I am going to create one called testdir. Hit Return and it created it. It didn't give me any output there. If I do ls-la you'll see that it created. If we come down here at the very last entry, you can see there's a directory because it has this d at the front and that differentiates it from just a standard file which has a dash.

Now if you were to try it again and create the same directory again, you'll get an error letting you know that file exists. It says File exists but it's actually letting us know that the directory exists and then makes sure we don't accidentally overwrite ...

Creating directories
Video duration: 2m 40s 6h 35m Beginner

Viewers:

Creating directories provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...