CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
Which command changes the current working directory in Linux?
- A.A. mv
- B.B. pwd
- C.D. chdir
- D.C. cd
Why D 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.