Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

=+ Have they changed the way employers view IP?

Answered: 1 week ago