Unix – Section 2

41. Which command is used to display the device name of the terminal you are using?

A. who
B. ls
C. tty
D. stty
E. None of the above

Correct Answer: C. tty

42. The ls -l command tells

A. who the owner of the file is
B. the name of the group owner of the file
C. how large the file is and when the file was last modified.
D. All of the above
E. None of the above

Correct Answer: D. All of the above

43. Which option will be used with disk free command to include the total amount of disk space in the file system?

A. -t
B. -tt
C. -4
D. -i
E. None of the above

Correct Answer: A. -t

44. Which command is used to set the three permissions for all the three categories of users of a file?

A. chgrp
B. chown
C. chmod
D. chusr
E. None of the above

Correct Answer: C. chmod

45. Which of the following commands can be used to get information about yourself?

A. who am i
B. i /4
C. pwd
D. which
E. None of the above

Correct Answer: A. who am i

Leave A Comment?

eight + four =