Creating a directory in Linux, Unix, their variants. Tip: It is more appropriate to use “directory” instead of “folder” when in a command line. Note: You must have the permissions to create a directory outside of your home directory. To create a directory in Linux, Unix, or any variant, use the mkdir Linux and Unix command.
ls – This command ‘lists’ the contents of your present working directory.
pwd – Shows you what your present working directory is.
cd – Lets you change directories.