Question: LINUX: Question 1) There has been suspicious activity on the system. In order to preserve log information, it will be necessary to archive the current
LINUX:
Question 1)
There has been suspicious activity on the system. In order to preserve log information, it will be necessary to archive the current files in /var/logending with the ".log" extension. The files are to be saved to a file named log.tar, stored in the directory, ~/archive.
It has also been requested that the files that were archived be saved to a directory, ~/backup.
Objectives
- Create an archive named log.tar that is stored in the archive directory located in the home directory.
- Remove path names from the files that are archived.
- Produce verbose output while archiving.
- List the contents of the archive without extracting.
- Extract the files to the directory, ~/backup.
*Provide the final commands for successful completion.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
