Archive files
Archive files and directories into a compressed file using tar, and extract the contents of an existing tar archive.
Task 1:
tar -cvjf /root/backup.tar.bz2 /usr/local
getenforce # check if selinux is in enforce mode
setenforce 1Task 2:
tar -cvjf /root/backup.tar.bz2 /usr/localLast updated