CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
Which command creates a new directory in Linux?
- A.newdir
- B.mkdir
- C.md
- D.create
Why B is correct
'mkdir' (make directory) creates new directories. 'mkdir -p path/to/dir' creates parent directories as needed. For example, 'mkdir -p /opt/app/config' creates all three directories if they don't exist.
Know someone studying for Security Fundamentals? Send them this one.