Question: Linux Shell script for dealing with files and directories Create the directory structure below in your home directory and list it. Create the following text
Linux Shell script for dealing with files and directories
Create the directory structure below in your home directory and list it.

Create the following text files:
meals/breakfast/favorites
meals/lunch/soup/soups
meals/lunch/dessert/cookiesI
n the favorites file you should mention in a few lines what are your favorites for breakfast. In the soup file, you should mention at least 6 different soups. In the cookies file, you should enumerate at least 5 different cookies.
Do the following operations: the meals/dinner/s second repository should be moved under meals/lunch/ repository. Create a copy of the meals/dinner/appetizer/ catalog in meals/lunch/ catalog. Create a copy of the meals/lunch/soup/soups file in the meals repository
List the content of the meals repository with all the corresponding sub repositories. List the content of the current repository. How much space (in bytes) is occupied by the content of the meals repository? List the last 3 lines of the meals/lunch/soup/soups file. List in alphabetic order the content of the meals/lunch/dessert/cookies file.
For the meals/soups/soups file the revoke the rights of modifying it, except for the user (you). Find in the meals/ hierarchy all the files and repositories starting with the letter s and list them
meals |-breakfast 1- lunch | |-soup | |-dessert 1 1- dinner |- appetizer |- dish
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
