Linux Administration Question 1 User evanhalen left and I ne

 Linux Administration Question: 1. User evanhalen left, and I need to remove his account from my server and remove his home directory, but I also want to create a  backup of all files in evanhalen\'s home directory and save that  to my ~/backups directory. What SINGLE command would do this?   

Solution

I have used the tar utilities to create a backup of users home directory as follows: Tar utilities means - The Linux “tar” means for tape archive, which is used by large number of Linux administrators to deal with tape drives backup. The tar command used to bind a collection of files and directories into highly compressed archive file commonly called tar in Linux Single line Command is below : # tar jcvf /my-backups/evanhalen-home-directory-backup.tar.bz2 /home/evanhalen
 Linux Administration Question: 1. User evanhalen left, and I need to remove his account from my server and remove his home directory, but I also want to create

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site