Question: Create the file structure described below off of root (/). You may use the touch command to create the text files. Then, create a gzipped
Create the file structure described below off of root (/). You may use the touch command to create the text files. Then, create a gzipped tar file file containing the below file structure. Submit a screenshot containing the command used to create the compressed archive.
logs
mail Log1.txt Log2.txt
web Log1.txt Log2.txt
server Log1.txt Log2.txt Log3.txt
Run the single command used to gzip all files in the logs/server directory you created (Hint: Remember globbing). Take a screenshot that contains the command used to zip these files and the results of the ls -lah listing of that directory.
List the file structure that you created in the problem one tar file using the correct switch for the tar command. Take a screenshot of the result.
Using the correct gzip switch, list the information regarding any one of the gzipped files you compressed in step 2. Take a screenshot of the result.
Unzip any single file that you compressed in step 2 . Take a screenshot of the command used to do this. Create the following directory: /root/tar. Then, extract the tarball created in step one to this directory. Take a screenshot of the command used to do this.
Run the command that displays process status in real-time. Take a screenshot of the running command.
Run the command that displays a process list. Use switches to display all processes running in all terminals by all users. Take a screenshot of the command used to do this.
Open the Firefox web browser. In the terminal, use a single command to find the process ID for Firefox. Note that this command should return the process ID to you. Take a screenshot of the command and its output.
In a terminal window, use the process ID discovered above to kill Firefox. Take a screenshot of the command used to do this. Run the command that provides a snapshot of memory used in megabytes. Take a screenshot of the command and its output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
