Question 1 (2 points) Command "touch" The touch command updates different time stamps. As a side benefit it is used to create empty files. Creating empty files & updating the modification time Enter the following commands touch clock Is clock Record the output: Enter the following commands man sleep sleep 61 touch clock Is I clock Record the output: Question 2 (4 points) Command op The cp comeand makes a copy of an Bodsting set of files or directories into another location of the system. Copying files to a directory Enter the following commands cd mkdir tab3ex cd lab3ex touch 11 12 13 Is Record the output of the is command Enter the following commands mkdir labs Is Record the output of the is command: Enter the following commands. cp 11 12 13 lab3 is lab3 Record the output of the is command Enter the following commands mkdir coffee cd coffee touch cream cd ep coffee/ercam catfee/sugar lab3 Islab3 Record the output of the command Question 3 (2 points) Copying directories to a directory (-r option) Enter the following command mkdir dir1 dir2 dir3 Enter a command that you can use to verify that the directories have been created? A/ Enter the following command cp diri dir2 dir3 lab3 Record only one of the error messages displayed on the screen: Question 4 (1 point) Enter the following command Islab3 True or False? The directories diri dir2 and dir3 have been successfully copied into lab3 True False Question 5 (1 point) Enter the following commands cp r dir1 dir2 dir 3 lab3 Is lab3 True or False? The directories diri, dir2 and dir3 have been successfully copied into lab3. True False Question 6 (1 point) Enter the following commands. This command installs the tree command which is not included in the default Ubuntu installation sudo apt-get install tree If the tree command is not found, please run the following command: sudo apt-get update, then re-run the above command man tree (a to exit) tree Copying directories to a directory, cont'd (-1 & --parents option) Enter the following commands. mkdir -p parent/child cd parent; touch f1.cd ... cp-r--parents parent/child lab3 tree lab3 How many files & directories are in the lab3 directory, including sub-directories? (Input the total of files and directories combined A Question 7 (1 point) Command: my The mv, for Move File or Directory, command moves files and directories to a different directory. It is also used to rename Tiles within the same directory Renaming files Enter the following commands: cd lab3 my f1 m1 True or False? The file has been renamed from f1 to mi. True False Question 8 (1 point Moving files Enter the following commands touch red green blue mkdir colors mv red green blue Record the error message: A Question 9 (1 point) Enter the following command. my red green blue colors Is True or False? The files red, green and blue are still in the current directory True False Question 10 (1 point) Enter the following command. Is colors Enter the name of the folder that the files red, green and blue were moved to