Question: Project 3 - 1 ESTIMATED TIME: 3 0 minutes OBJECTIVE: Navigate the Linux filesystem. DESCRIPTION: In this hands - on project, you log in to
Project
ESTIMATED TIME: minutes
OBJECTIVE: Navigate the Linux filesystem.
DESCRIPTION: In this handson project, you log in to the computer and navigate the file structure.
Boot your Fedora Linux virtual machine. After your Linux system has been loaded, switch to a commandline terminal tty by pressing CtrlAltF and log in to the terminal using the user name of root and the password of LINUXrocks!.
At the command prompt, type pwd and press Enter to view the current working directory. What is your current working directory?
At the command prompt, type cd and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Why or why not?
At the command prompt, type cd and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Why or why not?
At the command prompt, type cd and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Why or why not?
At the command prompt, type cd root and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Where are you now? Did you specify a relative or absolute pathname to your home directory when you used the cd root command?
At the command prompt, type cd etc and press Enter. What error message did you receive and why?
At the command prompt, type cd etc and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Did you specify a relative or absolute pathname to the etc directory when you used the cd etc command?
At the command prompt, type cd and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Did you specify a relative or absolute pathname to the directory when you used the cd command?
At the command prompt, type cd ~user and then press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Which command discussed earlier performs the same function as the cd ~ command?
At the command prompt, type cd Desktop and press Enter be certain to use a capital D At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Where are you now? What kind of pathname did you use here absolute or relative
Currently, you are in a subdirectory of users home folder, three levels below the root. To go up three parent directories to the directory, type cd and press Enter at the command prompt. Next, type pwd and press Enter to ensure that you are in the directory.
At the command prompt, type cd etcsamba and press Enter to change the current working directory using an absolute pathname. Next, type pwd and press Enter at the command prompt to ensure that you have changed to the etcsamba directory. Now, type the command cd sysconfig at the command prompt and press Enter. Type pwd and press Enter to view your current location. Explain how the relative pathname seen in the cd sysconfig command specified your current working directory.
At the command prompt, type cd homeuserDesktop and press Enter to change your current working directory to the Desktop directory under users home directory. Verify that you are in the target directory by typing the pwd command at a command prompt and press Enter. Would it have been more advantageous to use an absolute pathname to change to this directory instead of the relative pathname that you used?
Type exit and press Enter to log out of your shell.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
