Page 1 of 1

You work as the Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are a root u

Posted: Mon Aug 01, 2022 9:41 am
by answerhappygod
You work as the Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system.
You want to keep an eye on the system log file /var/adm/messages.
Which of the following commands should you use to read the file in real time?

A. tail -n 3 /var/adm/messages
B. tail -f /var/adm/messages
C. cat /var/adm/messages
D. tail /var/adm/messages