Linux – mkdir

Linux mkdir command The mkdir command used for creating new directories (also known as folder) on Unix/Linux systems. This is basic Linux command for creating the directory structure on a filesystem. Syntax: mkdir [OPTIONS] dir_name Example Let’s create a directory named testdir in the current directory. Run below from the command line. mkdir testdir The directory is created now. Use ls command to see the created directory. Now create another directory inside some other directory by specifying the full path. mkdir /var/www/testdir In case any parent directory doesn’t exist, the…

Read More