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?

tail -f /var/adm/messages

tail /var/adm/messages

cat /var/adm/messages

tail -n 3 /var/adm/messages

Verified Answer
Correct Option - a

To get all Infosys Certified Full Stack System Administrator - Linux - Beginner Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Thu, 6 Nov 2025