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
You work as the Network Technician for XYZ CORP. The company has a Linux-based network. You are working on the Red Hat o
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
You work as the Network Technician for XYZ CORP. The company has a Linux-based network. You are working on the Red Hat o
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!