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
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