SlideShare a Scribd company logo
1 of 1
Download to read offline
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

More Related Content

More from namarta88

If anybody could help me with these problems I would GREATLY appreci.pdf
If anybody could help me with these problems I would GREATLY appreci.pdfIf anybody could help me with these problems I would GREATLY appreci.pdf
If anybody could help me with these problems I would GREATLY appreci.pdf
namarta88
 
Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
namarta88
 
From General Motors company’s financial information, what type of pe.pdf
From General Motors company’s financial information, what type of pe.pdfFrom General Motors company’s financial information, what type of pe.pdf
From General Motors company’s financial information, what type of pe.pdf
namarta88
 
Explain the importance of both individual and groupteam differences.pdf
Explain the importance of both individual and groupteam differences.pdfExplain the importance of both individual and groupteam differences.pdf
Explain the importance of both individual and groupteam differences.pdf
namarta88
 
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
namarta88
 
13) A review of Chadwyn Corporations current radio shoves tist the .pdf
13) A review of Chadwyn Corporations current radio shoves tist the .pdf13) A review of Chadwyn Corporations current radio shoves tist the .pdf
13) A review of Chadwyn Corporations current radio shoves tist the .pdf
namarta88
 

More from namarta88 (19)

What is the microevolutionary perspective , What is the basic connec.pdf
What is the microevolutionary perspective , What is the basic connec.pdfWhat is the microevolutionary perspective , What is the basic connec.pdf
What is the microevolutionary perspective , What is the basic connec.pdf
 
What is the difference between a ligand and a receptor Give an exam.pdf
What is the difference between a ligand and a receptor Give an exam.pdfWhat is the difference between a ligand and a receptor Give an exam.pdf
What is the difference between a ligand and a receptor Give an exam.pdf
 
How do i get my data to be in multiple cells in one row on excel lik.pdf
How do i get my data to be in multiple cells in one row on excel lik.pdfHow do i get my data to be in multiple cells in one row on excel lik.pdf
How do i get my data to be in multiple cells in one row on excel lik.pdf
 
Is a negative gage pressue possible If so what does it mean I.pdf
Is a negative gage pressue possible  If so what does it mean I.pdfIs a negative gage pressue possible  If so what does it mean I.pdf
Is a negative gage pressue possible If so what does it mean I.pdf
 
Infection ControlSuppose that your team has been hired by a local.pdf
Infection ControlSuppose that your team has been hired by a local.pdfInfection ControlSuppose that your team has been hired by a local.pdf
Infection ControlSuppose that your team has been hired by a local.pdf
 
If anybody could help me with these problems I would GREATLY appreci.pdf
If anybody could help me with these problems I would GREATLY appreci.pdfIf anybody could help me with these problems I would GREATLY appreci.pdf
If anybody could help me with these problems I would GREATLY appreci.pdf
 
Major functions of Complement include General functions of antibodi.pdf
Major functions of Complement include  General functions of antibodi.pdfMajor functions of Complement include  General functions of antibodi.pdf
Major functions of Complement include General functions of antibodi.pdf
 
If the accounting is based on culture and is national , in fact, l.pdf
If the accounting is based on culture and is national , in fact, l.pdfIf the accounting is based on culture and is national , in fact, l.pdf
If the accounting is based on culture and is national , in fact, l.pdf
 
Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
 
1.) What does the circled part of the phylogenetic tree represent A..pdf
1.) What does the circled part of the phylogenetic tree represent A..pdf1.) What does the circled part of the phylogenetic tree represent A..pdf
1.) What does the circled part of the phylogenetic tree represent A..pdf
 
From General Motors company’s financial information, what type of pe.pdf
From General Motors company’s financial information, what type of pe.pdfFrom General Motors company’s financial information, what type of pe.pdf
From General Motors company’s financial information, what type of pe.pdf
 
Explain why it is more accurate to measure short rather than long map.pdf
Explain why it is more accurate to measure short rather than long map.pdfExplain why it is more accurate to measure short rather than long map.pdf
Explain why it is more accurate to measure short rather than long map.pdf
 
Explain the importance of both individual and groupteam differences.pdf
Explain the importance of both individual and groupteam differences.pdfExplain the importance of both individual and groupteam differences.pdf
Explain the importance of both individual and groupteam differences.pdf
 
Discrete ProbabilityA fisherman catches fish at a Poisson rate of .pdf
Discrete ProbabilityA fisherman catches fish at a Poisson rate of .pdfDiscrete ProbabilityA fisherman catches fish at a Poisson rate of .pdf
Discrete ProbabilityA fisherman catches fish at a Poisson rate of .pdf
 
4. Would have your ancestry traced using DNA Whywhy notSoluti.pdf
4. Would have your ancestry traced using DNA Whywhy notSoluti.pdf4. Would have your ancestry traced using DNA Whywhy notSoluti.pdf
4. Would have your ancestry traced using DNA Whywhy notSoluti.pdf
 
1. Describe a signalized intersection that you drive through on a re.pdf
1. Describe a signalized intersection that you drive through on a re.pdf1. Describe a signalized intersection that you drive through on a re.pdf
1. Describe a signalized intersection that you drive through on a re.pdf
 
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
1. Suggest a sequence for this 16 amino acid helix and provide justi.pdf
 
13) A review of Chadwyn Corporations current radio shoves tist the .pdf
13) A review of Chadwyn Corporations current radio shoves tist the .pdf13) A review of Chadwyn Corporations current radio shoves tist the .pdf
13) A review of Chadwyn Corporations current radio shoves tist the .pdf
 
26 )Which operating system is an open source operating system distrib.pdf
26 )Which operating system is an open source operating system distrib.pdf26 )Which operating system is an open source operating system distrib.pdf
26 )Which operating system is an open source operating system distrib.pdf
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 

Linux Administration Question 1. User evanhalen left, and I need t.pdf

  • 1. 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