A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries.
Which of the following commands would be BEST to use to accomplish this task?
A. chattr +a /opt/app/logs
B. chattr +d /opt/app/logs
C. chattr +i /opt/app/logs
D. chattr +c /opt/app/logs
A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs t
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!