Page 1 of 1

You work as the Network Technician for XYZ CORP. The company has a Linux-based network. You are working on the Red Hat o

Posted: Mon Aug 01, 2022 9:41 am
by answerhappygod
You work as the Network Technician for XYZ CORP. The company has a Linux-based network. You are working on the Red Hat operating system. You want to view only the last 4 lines of a file named /var/log/cron.
Which of the following commands should you use to accomplish the task?

A. tail -n 4 /var/log/cron
B. tail /var/log/cron
C. cat /var/log/cron
D. head /var/log/cron