My MCQ’s are for the lesson “The Unix Shell - Files and Directories” that can be found here
If Nelle wanted to count ALL the directories in her current working directory which command should she use … ?
- ls -a
- ls -F -a
If the output from the Unix command “pwd” shows /users/nelle/molecules … how can you get to Nelle’s home directory using an absolute path
- cd ..
- cd users/nelle
- cd .
- cd /users/nelle
- this will get you to the right place but it is a relative path
- this looks like an absolute path but if forgets the “/” root directory at the beginning
- this will not get to the right place and it is a relative path
- correct answer