1Z0-821 practice question 17 of 30
You are currently working in both your home directory and the system directory /tmp. You are switch back and forth with full path names. Which pair of cd commands will provide you with a shortcut to switch between these two locations?
Full set: 243 questionsCorrect Answer:
A. cd ~ and cd –
Explanation
In the Bourne Again, C, Korn, TC, and Z shells, the tilde (~) is used as a shortcut for specifying your home directory. cd – It's the command-line equivalent of the back button (takes you to the previous directory you were in).
Note: To make certain that you are in your home directory, type the cd (change directory) command. This command moves you to your home (default) directory.
Keep practicing
Take the free 1Z0-821 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-821 practice questions
- Question 1You created a new zpool. Now you need to migrate the existing ZFS file system from pool1/…
- Question 2User jack on host solaris attempts to use ssh to log in to host oracle and receives this …
- Question 5On which is the open boot prom available?
- Question 7Identify the correct description of an IPS image.
- Question 8Server A, Server B, and Server C are connected to the same network switch and are on the …
- Question 9To help with your troubleshooting, you need to determine the version of the OBP. Which tw…
