Complete the command to create a directory named 'photos'.
mkdir [1]The mkdir command followed by the directory name creates that directory. Here, photos is the directory name.
Complete the command to create nested directories '2024/June' in one step.
mkdir [1]-p option, which causes an error.The -p option tells mkdir to create parent directories as needed, so nested directories like 2024/June are created in one command.
Fix the error in the command to create a directory named 'docs' with verbose output.
mkdir [1] docs-p which creates parent directories but does not show messages.-x which cause errors.The -v option makes mkdir show a message for each directory it creates, which is the verbose mode.
Fill both blanks to create directories 'music' and 'videos' in one command.
mkdir [1] [2]
-p or -v as directory names.You can create multiple directories at once by listing their names separated by spaces after mkdir.
Fill all three blanks to create a directory named 'projects' with permissions set to 700 and verbose output.
mkdir [1] [2] [3] projects
-m option.-v.The -m option sets permissions, here 700 means only the owner can read, write, and execute. The -v option shows messages during creation.