CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
Which command changes the current working directory in Linux?
- A.cd
- B.pwd
- C.mv
- D.chdir
Why A is correct
'cd' (change directory) navigates between directories. 'cd ~' goes to the home directory, 'cd ..' goes up one level, and 'cd -' returns to the previous directory. 'pwd' prints the current directory.
Know someone studying for Security Fundamentals? Send them this one.