Linux Hybrid Quiz 1-4

.pdf

School

Algonquin College *

*We aren’t endorsed by this school

Course

CST8102

Subject

Information Systems

Date

Feb 20, 2024

Type

pdf

Pages

3

Uploaded by ProfessorStrawMouse21

Report
Question 1 (1 point) Saved You are in the directory /home/student/dirl Write the command that changes directory to the top most ROOT directory using the shortest relative pathname. [cdufiju ] Ay Question 2 (1 point) Saved Write the following path i1in a shorter form. /dirl/dir2/dir3/./dir5/../£file [ /dirl/dir2/dir3/file ] Ay Question 3 (1 point) Saved How would you run the 2nd command in the commands history? D 12 % Question 4 (1 point) Saved Type the command that would display only the number of lines in the file story.txt s wc -| story.txt Question 5 (1 point) Saved You need to change an existing file's modification time without editing and saving i1it. The command to do it 1s: [ touch ] Ay Question 6 (1 point) Saved
The synopsis section in the manual page for a fictional command called lrt shows the following: lrt --break-down numberOfDays Which of the following is true? The followin use i1s valid: lrt —--break-down 3 —--break-down aThe following use is wvalid: lrt --break-down 12 [:)The following use is wvalid: 1lrt “lrt must be used with --break-down [:)The following use is valid: lrt --break-down numberOfDays Question 7 (1 point) Saved Which Linux command shows the current time? Question 8 (1 point) What would you see S cat /foo O The contents The contents directory (:)The contents @ The contents (:)The contents Question 9 (1 point) of of of of of Saved 1if you typed this command: your directory named foo the file foo located in the parent your subdirectory named £foo the file foo located in the ROOT directory the file foo located in your HOME directory Saved
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help