Linux – Section 2

41. Where can system and mail logs be found in Ret Hat Linux?

A. /var/log
B. /etc/log
C. /mail
D. All of the above
E. None of the above

Correct Answer: A. /var/log

42. What command is used to display and create files?

A. lyrix
B. ed
C. vi
D. cat
E. None of the above

Correct Answer: D. cat

43. Which of the following command can be used to rename a file in UNIX?

A. ren
B. mv
C. remove
D. change
E. None of the above

Correct Answer: B. mv

44. What command is used to remove a file?

A. del
B. mv
C. rm
D. remove
E. None of the above

Correct Answer: C. rm

45. What command is used to display the top of the file?

A. grep
B. more
C. head
D. cat
E. None of the above

Correct Answer: C. head

Leave A Comment?

one × five =