Question: This Script for Linux clear tree labola rm -r labola rm -r lab01b read -p Trees erased mkdir -p lab01a/{tt.uu/{V,xx/{ww.doc, YYY}},uuu.txt/z} tree labola read -p

This Script for Linux clear tree labola rm -r labola rm -rThis Script for Linux lab01b read -p "Trees erased" mkdir -p lab01a/{tt.uu/{V,xx/{ww.doc, YYY}},uuu.txt/z} tree labola read-p "Tree created" echo "It is commonly claimed that object"> lab01a/tt.uu/T.a echo

clear tree labola rm -r labola rm -r lab01b read -p "Trees erased" mkdir -p lab01a/{tt.uu/{V,xx/{ww.doc, YYY}},uuu.txt/z} tree labola read -p "Tree created" echo "It is commonly claimed that object"> lab01a/tt.uu/T.a echo "is the only human-made object visible" > lab01a/tt.uu/V/v.doc echo "Moon. This is false. None of the" > lab01a/tt.uu/xx/ww.doc/w.txt echo "from the Apollo astronauts reported" > lab01a/tt.uu/xx/x.123 echo "seeing any specific human-made" > lab01a/tt.uu/xx/YYY/y echo "from the moon" > lab01a/uuu.txt/z/Z.abc echo "the Great Wall of China" > lab01a/uuu.txt/U clear;tree lab01a EXERCISE01 1. Recreate the following file structure starting from your home directory. Home Directory lab01a tt.uu T.a uuu.txt U XX X.123 V v.doc Z Z.abc ww.doc W.txt YYY y Directories: labo1a, tt.uu, V, XX,ww.doc, YYY, uuu.txt, z Text Files: T.a, U, v.doc, W.txt, x.123, y, Z.abc T.a U v.doc W. txt x. 123 Y z. abc file content file content file content file content file content file content file content It is commonly claimed that objects the Great Wall of China is the only human-made object visible Moon. This is false. None of the from the Apollo astronauts reported seeing any specific human-made from the Moon PART2-COPY SECTION 2. Under your home folder copy the lab01a contents into labo1b. Type command here: 3. Write down below the commands used to copy the text files found within labola into a directory called lab01c: T.a: y: U: z.abc: w.txt: PART3-RELATIVE VS ABSOLUTE 4. Assume you are in your home directory. Answer the questions below based on the lab01a file structure: 1. What is the absolute path to the file v.doc? 2. What is the relative path to the file v.doc? 3. What is the absolute path to the file X.123? 4. What is the relative path to the file Z.abc? 5. What is the relative path to the file W.txt? PART 4-RENAME 5. Make a copy of labola directory into lab01d then make the following changes to lab01d: 1. Rename tt.uu directory into tu 2. Rename V directory into vic 3. Rename v.doc file into vic.doc 4. Rename X.123 file to 123.x 5. Rename YYY directory to Y PART5-MOVE/REMOVE 6. Create the folder labold and make the following changes: 1. Move xx directory and its contents into labold 2. Remove z directory and its contents (if any) PART 6-Modify File Contents 7. Make the following additional changes to labold: 1. Add to the vic.doc file the following contents: "World" 2. Change the contents of file 123.x to "Cup" Prepared by Professor Jos Vargas 2/2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!