Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux Essentials ASAP Please Q01) Create the directory structure as shown in the Pic1 and add files as indicated in the Pic1 (all those files

Linux Essentials ASAP Please

Q01) Create the directory structure as shown in the Pic1 and add files as indicated in the Pic1 (all those files are plain text files).

Answer: ______________________

Q02) Create folder called family inside of the personal folder and copy the to_do_list.txt to the family folder.

Answer: ______________________

Q03) Using a single command with wild cards, copy song.mp3, song.wav, letter01.txt, and letter02.txt to deleted folder.

Answer: ______________________

Q04) Using a single command with wild cards, remove the content of the deleted folder (do not remove the folder itself).

Answer: ______________________

Q05) Rename the letter_of_engagement.txt file into needs_work.txt (make sure the file stays in the work folder).

Answer: ______________________

Q06) Move the personal folder and its content to the work folder.

Answer: ______________________

Q07) Copy the work folder and its content to the misc folder.

Answer: ______________________

Q08) Write the "grep" command that displays the lines from the /etc/passwd file that begin with any character but letter 't' and end with not a number. Make the command case insensitive.

Answer: ______________________

Q09) Write the complete bash script that will take a file/folder name (with or without path) as a command line argument. The script must verify that one command line argument value was given. If the value was not given, the script should display an error message and stop. If the value was given, then the script should state if that value is a valid file or a folder. If the value is not a valid file or a folder, then the script should state that such a file or folder does not exist.

Answer: ______________________

Q10) Use the "tar" command to create a compressed with gzip archive of the /tmp folder. The completed archive should be stored in your account home directory and the archive should be named tmp.tar.gz.

Answer: ______________________

Answer: ______________________image text in transcribed

- $ tree /home/ HomeDir /Midterm /home/ HomeDir/Midterm deleted misc song.mp3 song way personal letter01.txt letter02.txt work letter_of_engagement.txt to_do_list.txt E 4 directories, 6 files

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_2

Step: 3

blur-text-image_3

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

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago