Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you tell the commands for the steps? File Systems 10 [O Marks] Part 0: Change your hostname (Skip if completed in lab 1) 1.

can you tell the commands for the steps? image text in transcribed
image text in transcribed
File Systems 10 [O Marks] Part 0: Change your hostname (Skip if completed in lab 1) 1. Run the command hostname w/your student number) for example, hostname w01234567 [4 marks] Part 1: Navigating directories 1. Login as root 2. Create a text called-/lab3.txt, place all the answers of this lab in the text file-/lab3.txt 3. Change directory to your home directory using cd 4. Where are you? (use pwd) 5. Change directory using cd ../usr. Where are you? 6. List the subdirectories: 7. 8. Now change directory to sbin. Where are you? 9. Now run the command cd .. Where are you? 10. Now run the command cd. Where are you? [4 Marks] Part 2: Navigating a Linux File System 1. Run the command cd/ 2. Now run cd. /etc/sysconfig 3. Where are you? 4. Explain how you got to this directory 5. Now run cd ../../var 6. Where are you? 7. Explain how you got to this directory 8. Now change directory to log 9. Where are you? 10. List some of the logs you see and what you think they are for: 11. Now change directory to /home 12. Where are you? 13. Ust the contents of the current directory: 14. Now change directory to /boot 15. Where are you? 16. What is the name of the Linux kernel? 17. Now change directory to /etc 18. Where are you? 19. What configuration files do you recognize? 20. In examine fstab 21. Use the df command in conjunction with /etc/fstab to match the mount points to UUIDs and and /dev devices /boot /dev/ /dev/ swap /dev/ Part 3: Relative vs Absolute [2 marks] 1. Assuming you are in /var/log list 2 ways to change directory to /etc Absolute path: Relative path: 2. Assuming you start in /usr/sbin and you change directory to .././bin/././lib//rpm/./././local/././var/:/tmp/./ Where would you be? 3. Assuming you start in /home/other and you change directory to ../test/./den/../somewhere/-/else/./here/./../there Where would you be

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

Students also viewed these Databases questions

Question

Explain how JIT/Lean impacts each of the seven wastes.

Answered: 1 week ago

Question

5. What decision-making model would you advocate to this person?

Answered: 1 week ago