Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use linux commands 1. Create a new folder under the root users home directory. The name of the folder should be YOURFIRSTNAME abc123 (e.g. JohnSmith

Use linux commands

1. Create a new folder under the root users home directory. The name of the folder should be YOURFIRSTNAME abc123 (e.g. JohnSmith abc123). Note that there is a SPACE between your first name and abc123. Below we will call this folder the abc123 folder. 2. Create a file named with your fullname (e.g. johnsmith) in the abc123 folder. 3. Copy the entire abc123 folder to a new folder YOURLASTNAME (e.g. SMITH) under the home directory. Below we will call this new folder the YOURLASTNAME folder and the file in this folder the yourname file. 4. Remove the abc123 folder with one command. 5. Add a single-line sentence to the yourname file in the abc123 folder (you can use either a command or a text editor). 6. File /etc/DIR_COLORS is the configuration file controlling the font colors of the files and directories. Please utilize I/O redirection and pipe commands to redirect and attach the line DIR 01;34 of the DIR_COLORS file to the yourname file. The yourname file should end up with 2 lines. The first line is the sentence created in step 5 and the second line is what was redirected from the DIR_COLORS file (which should be DIR 01;34 #directory). 7. Install Vim by using the package manager (Internet connection is needed). 8. Open file /etc/DIR_COLORS with Vim, search for the line DIR 01;34 #directory, modify 34 to 36, save, and exit Vim. Reboot the OS then check if the font color of directory has been changed to cyan (as Fig. 1 shows).

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

Explain methods of metal extraction with examples.

Answered: 1 week ago

Question

1. Identify outcomes (e.g., quality, accidents).

Answered: 1 week ago