The command to create a new directory is “mkdir”, which basically tells that “make directory”.
MAC OS COMMAND R WINDOWS
If you are windows user, you might be calling directories as folders. Without going into the details of the output, one can see that each line will tell you whether it is a file or directory, when was it created, who created it, size of the file/directory. This will result in a output containing each file/directory in a separate line. To list the content of a directory with more options like mentioned above, use “ls” with the option “l”. Just like any other linux command, “ls” comes with loads of other options that you can use to get more information about the content in a directory.įor example, simply using “ls” does not give you information about the size of the files in the directory or the time it was created. “ls” basically means list and when you type “ls” from the current directory you are in, it will simply list the files and directories in that directory in alphabatic order. Use the command “ls”, to find out what is inside a directory.
![mac os command r mac os command r](https://askgeorgekopp.com/wp-content/uploads/2019/07/Screen-Shot-2019-07-16-at-9.30.00-AM.png)
![mac os command r mac os command r](https://media.idownloadblog.com/wp-content/uploads/2021/12/macOS-Recovery.png)
Here are some basic linux/unix commands that lets you get started exploring the treasure beneath the terminal. Often the most basic tasks in getting around the system involve creating a directory, changing to a directory, creating a file in a directory and so on. And inside each directory, you will have other directories. For example, if you are a linux user, your account is just another directory. Linux organizes everything in directories. But the piece of advice that is worth is “Hang on!, You will see the fruits of your frustrations soon”.
![mac os command r mac os command r](https://www.minitool.com/images/uploads/articles/2021/01/fix-mac-wont-boot-into-recovery-mode/fix-mac-wont-boot-into-recovery-mode-thumbnail.png)
Typically the learning curve of Linux commands is bit slow and scare people away from it.