Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Open a terminal window and complete the following task in the terminal window. 5. Use cd and Is command to visit following directories and list
Open a terminal window and complete the following task in the terminal window. 5. Use "cd" and "Is" command to visit following directories and list files in each one. Find out how many files are in each directory and fill the following table. Number of Files Number of Sub-Directories Directory Your home (personal) directory The root ("/") directory /etc/gnomel Take a screenshot after you list (ls) the files and directories in the last directory /etc/gnome/ (screenshot 2b-4). 6. Enter these commands at the prompt, and try to interpret the output. Don't be afraid to experiment (as a normal user you cannot do much harm): echo hello world date hostname man Is (you may need to press q to quit) who am i lost cal 2013 history clear 7. View and edit files Navigate to /etc/x11 and find the "rgb.txt" file. Use "cat", "more", and "less" command to view this file. Feel the difference. Use pico or nano to create a new text file. Type your name, major, university name, with each on a new line. Save the file and exit. View the file you just created in a terminal window. Take a screenshot which clearly shows the command you used to view the file and the file content (screenshot 26-5). 8. Other operations Command editing: use left and right arrow to move along the command line. History: use up and down arrow to see previously entered command. Use this effectively with command editing to improve your productivity Use "script" command to create a log of your operations. Enable the "root" account. Re-login as root
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started