~ |– users/ | `– HOSTNAME/ | |– STUDENT | `– PROFESSOR | `–…
Question Answered step-by-step ~ |– users/ | `– HOSTNAME/ | |– STUDENT | `– PROFESSOR | `–… ~ |– users/ | `– HOSTNAME/ | |– STUDENT | `– PROFESSOR | `– notes/ |– uli101/ | `– mf-notes/ | `– mine/For Questions 2 to 5 assume: the tree above stays the same at the start of each question; you havejust logged in to matrix and your pwd is your home directory.NOTE: For Questions 2 to 5, two command lines are required to answer each question.-x-2. Use absolute paths in your answer for both command lines. On matrix, run the following command: ypcat passwd Using a pipe with grep redirect the line having your MySeneca username to file STUDENT. For example: if MySeneca username is jbond007 then put the line starting with jbond007 from output of “ypcat passwd” to file jbond007 using absolute paths. Using absolute paths, write a another command line to show that file STUDENT contains just one line with your MySeneca username in it. For example: using jbond007 as MySeneca username from the example above, what command line uses absolute path to show contents of file jbond007.Ans: Computer Science Engineering & Technology Networking ULI 101 Share QuestionEmailCopy link Comments (0)


