Question: Enter the requested commands as if you were typing them into a terminal. Do not replicate the prompt in your answers and one answer per

Enter the requested commands as if you were typing them into a terminal. Do not replicate the prompt in your answers and one answer per line.

Here is the scenario:

Your prompt is: [root@linuxos ~]#

change to the etc directory using the absolute path

read the 'hosts' file in this directory using one of the several methods

change to the home directory for the root user using the absolute path

create an empty file called 'rootfile.text'

rename the file 'file.txt'

change directories to the lib subdirectory in the usr directory off of the root directory

do a long listing of all files including hidden

from this directory, copy your 'file.txt' to the home directory of user 'user1'

using a shortcut and NOT the absolute path, change directory to the root home directory

using the superuser command, change your profile and rights to 'user1'

exit both the 'user1' session and the 'root' session

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!