Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the question in Linux Exercises: - First remove all the files and directories from your working directory (i.e Desktop). Using remove command by

Please solve the question in Linux

image text in transcribed

Exercises: - First remove all the files and directories from your working directory (i.e Desktop). Using remove command by writing the following: Srm -r - Then, try the following: 1) Create the following files: (91, 92.txt, g, v.txt, CI, c2, y.txt, bl.txt, and b2.txt). Also, create the following three directories (x1, x2, and xx). Do the following: - Copy files q1, q2.txt, c2 and y.txt to directory xl. Move the rest files to directory x2. Archive the files of directory xl into the file "arch.tar" using tar command. Then, compress the archived file. - Archive and compress the files of directory x2 to a file "ss.tar.gz" using tar command. Remove the original files inside the directories xl and x2. Add a new file named "xyz.txt" to the existing archived compressed file: arch.tar.gz. List the files that archived in arch.tar.gz Extract any file you are chose from "arch.tar". Print the content of the archived file "ss.tar.gz" without extracting the files from it. Extract the files from the archived file "arch.tar" to the directory xl, using cpio command. - Using remove command, remove all the compresses and archived files you made it before. 2) Archive only the files in directory x2 that have an extension ".txt" into an archive file named: "object.cpio". 3) Extract the archived file object.cpio in directory xl. 4) Using gzip command: compress all the files inside directory xl without removing the original files from the directory xl. Prepared by Dr. Fatima 5) Remove only the compressed files from directory xl, Then, compress all the original files in one compressed file called "comp" 6) Remove the original files of directory xl, then; decompress "comp" back. 7) Create an archive hh.tar on your working directory to archive the files in /usr/games and /opt Finally, remove all the files and directories from your working directory using the rm command

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions

Question

DESCRIBE the three types of appraisal interviews.

Answered: 1 week ago

Question

Write a short note on rancidity and corrosiveness.

Answered: 1 week ago