Linux - File Management - multichoice questions

Question 1

If /home/student is a directory, then the command rm /home/student will

Question 2

T/F: Only the root user can read files in /etc.

Question 3

T/F: /bin and /usr/bin contain the same files.

Question 4

The command cp item.1 item.2 will copy an entire subdirectory tree

Answer the following 3 questions based on the below output:

myuser@localhost:~$ ls
ebbs   eras   lakes  lit    loop   olden  rank   renew  robe   run  whirr
echo   erect  lamed  lives  lorry  one  rapid  reply  robed  wagon  whorl
elope  ergo   lash   loads  lost   ounce  rasp   retry  rock   wares  wile
enact  erupt  lead   loath  loves  oust   rays   rho    rocky  ways   windy
end evens  leaks  lobby  lows   ovary  razor  rigid  rooms  weak   witty
enjoy  evoke  leaps  locus  loyal  overt  read   rigs   roses  weep   wools
entry  ewes   learn  logic  lucks  racks  reaps  rime   rouge  wench  wound
envoy  lace   leech  login  oaks   radon  recta  riots  rove   west   wrens
epic   laced  lick   loin   obese  raged  recur  risks  row wet writ

Question 5

Which of the following files would be included in the output of the command ls r*s ?

Question 6

Which of the following files would be included in the output of the command ls r?? ?

Question 7

Which of the following files would be included in the output of the command ls [aeiou]??? ?

Question 8

Which of the following pairs of commands always produce the same effect?

Question 9

Your screen shows the following:

[student@station html]$ cd ../bin
[student@station bin]$ pwd
/home/student/bin
[student@station bin]$ cd -

What would be the output of the command pwd?

Question 10

Why would you expect trouble from the following command?

[bob@station bob]$ head /bin/ls

Question 11

The /root directory is noteworthy because

Question 12

Which of these is most likely not someone's home directory?

Question 13

What does the who command report?