please help with the exact answers . how to do it
nswer the following questions with as much details as you think necessary. Remember at this lab activity will serve you as study guide, so be as clear as you can! OPYIPASTE. THE COMMANDS YOU TYPE. AND PROVIDE A SCREENSHOT OF HE RESULTS TO SHOW WHAT YOU SEE ON YOUR SCREEN tart by typing the following command on your terminal. b. Go to LabActivity2. c. Write the conmand to create a file called lnfo.tst using the cat command. The first line should be a sentence that tells me your favorite color. The secend line should be a sentence that tells me the best or worit part of the pandersie. d. Write the command to create an cmpty file called Councitst. e. Edit the Courses.txt file to have a line for cach coutse that you are taking this semester. g. Write the conimand to show the contens of the file courses tut. h. Go to work1. i. Rename the Courses tst file to Mycourses tot. j. Write the command to show the contents of the diecetory work! k. Write the command to get the mamber of lines, and wire of the file Nlycourses, Ev without ofenige the file, and execute it. 1. Write the comanand to show the firnt line, and the lait line of Mycoumes cut, and exesute it. m. You are in the Music dinerory in the below diagram f. Create a new directory called workl. Then copy the Coursestst file into the work1 directory. How many copies of the courses. xxt file do you have and where are they locared? g. Write the command to show the contents of the file courses. txt. h. Go to workl. i. Rename the Courses.txt file to Mycoarses.txt. j. Write the command to show the contents of the directory work]. k. Write the command to get the number of lines, and size of the file Mycourses tut without opening the file, and execute it. L. Write the command to show the first line, and the last line of Mycourses tst, and execute it. m. You are in the Music directory in the below diagram From the Music directory write the command to use an absolute path to get to the shared directory. From the Music directory write the conmand to ere a relative path to get to the shared directory