• Home
  • About Us
  • Contact Us
  • DMCA
  • Sitemap
  • Privacy Policy
Thursday, March 30, 2023
Insta Citizen
No Result
View All Result
  • Home
  • Technology
  • Computers
  • Gadgets
  • Software
  • Solar Energy
  • Artificial Intelligence
  • Home
  • Technology
  • Computers
  • Gadgets
  • Software
  • Solar Energy
  • Artificial Intelligence
No Result
View All Result
Insta Citizen
No Result
View All Result
Home Software

ARCHIVING FILES AND SCP – DEV Group πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Insta Citizen by Insta Citizen
September 24, 2022
in Software
0
ARCHIVING FILES AND SCP – DEV Group πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

READ ALSO

Professionals and Cons of Hybrid App Improvement

Microsoft Challenge vs. Microsoft Groups




ARCHIVING FILES



1. tar Command

You may archiving recordsdata or listing use the tar command. The tar command can create an archive file from a number of recordsdata. Archiving and compressing recordsdata or listing are helpful when creating beckups and transferring knowledge throughout a community.




2. Syntax and Choices of the tar Command

Syntax :

$ tar [options] [archive-file] [file or directory to be archived]
Enter fullscreen mode

Exit fullscreen mode

Choices :

  1. -c or --create : Create a brand new archive.
  2. -x or --extract : Extract from an present archive.
  3. -t or --list : Listing the desk of contents of an archive.
  4. -v or --verbose : Present which recordsdata get archived or extracted.
  5. -f or --file= : File identify.
  6. -p or --preserve-permissions : Protect the permissions of recordsdata and directories when extracting an archive, with out subtracting the umask.
  7. -z or --gzip : Use gzip compression (.tar.gz).
  8. -j or --bzip2 : Use bzip2 compression (.tar.bz2). bzip2 usually achieves a greater compression ratio than gzip.
  9. -J or --xz : Use xz compression (.tar.xz). The xz compression usually achieves a greater compression ratio than bzip2.



3. The tar Command Utilization :

Instance :

  • Consumer A will create an archive file named good friend.tar with the content material recordsdata of agung, iyan, and adit within the person A dwelling listing.
    Image description

  • The tar command also can create an archive file from a listing. Instance :
    Consumer A will create an archive file named tjkt2.tar with the contents file from /and many others listing, earlier than archiving /and many others listing, Consumer A should swap to root person, as a result of solely the basis person is allowed to learn all the recordsdata current within the /and many others listing.
    Image description

  • To checklist the contents of the tar file, you should use the -t possibility. Instance :
    Image description

  • To extract archive file, you need to create an empty listing in order to not overwrite different recordsdata. You should use -x choice to extract archive file. Instance :
    Image description

– NOTE :
Use -p choice to protect the permissions of an archived file. Use command :

# tar -xpf [name archive-file]
Enter fullscreen mode

Exit fullscreen mode




4. gzip, bzip2, and xz

There are three completely different compression strategies supported by the tar command:

1. gzip
You may create a gzip compressed archive use -z possibility. Instance :
Image description

You may extract it utilizing the command :
Image description

2. bzip2
You may create a bzip2 compressed archive use -j possibility. Instance :
Image description

You may extract it utilizing the command :
Image description

3. xz
You may create a xz compressed archive use -J possibility. Instance :
Image description

You may extract it utilizing the command :
Image description





SCP



Which means of SCP

SCP (Safe Copy Protocol) is a community protocol used to securely copy recordsdata/folders between Linux (Unix) methods on a community. SCP protects your knowledge whereas copying throughout an SSH (Safe Shell) connection by encrypting the recordsdata and the passwords.




Use of SCP

SCP can be utilized to :

  1. Copying recordsdata from a neighborhood host to a distant host.
    For Instance :
$ scp dwelling/adit/schedule.txt [email protected]:/dwelling/agung 
Enter fullscreen mode

Exit fullscreen mode

NOTE :
– dwelling/adit/schedule.txt : the identify of the file being copied and its location.
– [email protected] : the username and IP handle of the distant host.
– /dwelling/agung : the situation the place to retailer the copied file.


  1. Copying recordsdata from a distant host to a neighborhood host.
    For Instance :
scp [email protected]:/dwelling/iyan/bicycle.txt dwelling/adit
Enter fullscreen mode

Exit fullscreen mode

NOTE :
– [email protected] : the username and IP handle of the distant host from the place the file is at present positioned.
– /dwelling/iyan/bicycle.txt : the identify of the file being copied and its location.
– dwelling/adit : the situation the place to retailer the copied file.




Thank You….



Source_link

Related Posts

Professionals and Cons of Hybrid App Improvement
Software

Professionals and Cons of Hybrid App Improvement

March 30, 2023
Alternate options To Microsoft Mission | Developer.com
Software

Microsoft Challenge vs. Microsoft Groups

March 30, 2023
Google outlines 4 rules for accountable AI
Software

Google outlines 4 rules for accountable AI

March 29, 2023
Guarantees in JavaScript – Webkul Weblog
Software

Guarantees in JavaScript – Webkul Weblog

March 29, 2023
Monitor Occasions and Operate Calls through Console
Software

The best way to Block a Vary of IP Addresses

March 29, 2023
Taron Egerton slots Tetris story into place in new biopic
Software

Taron Egerton slots Tetris story into place in new biopic

March 28, 2023
Next Post
Ted Lasso characters be a part of Fifa 23

Ted Lasso characters be a part of Fifa 23

POPULAR NEWS

AMD Zen 4 Ryzen 7000 Specs, Launch Date, Benchmarks, Value Listings

October 1, 2022
Only5mins! – Europe’s hottest warmth pump markets – pv journal Worldwide

Only5mins! – Europe’s hottest warmth pump markets – pv journal Worldwide

February 10, 2023
XR-based metaverse platform for multi-user collaborations

XR-based metaverse platform for multi-user collaborations

October 21, 2022
Magento IOS App Builder – Webkul Weblog

Magento IOS App Builder – Webkul Weblog

September 29, 2022
Migrate from Magento 1 to Magento 2 for Improved Efficiency

Migrate from Magento 1 to Magento 2 for Improved Efficiency

February 6, 2023

EDITOR'S PICK

Methods to Keep away from Errors in Knowledge Science | by Suhas Maddali | Nov, 2022

Methods to Keep away from Errors in Knowledge Science | by Suhas Maddali | Nov, 2022

November 18, 2022
The dynamic lot-size mannequin: A mixed-integer programming method | by Bruno Scalia C. F. Leite | Feb, 2023

The dynamic lot-size mannequin: A mixed-integer programming method | by Bruno Scalia C. F. Leite | Feb, 2023

February 1, 2023
VCs are pushing startups — will their buyers tighten the thumbscrews, too? β€’ TechCrunch

VCs are pushing startups — will their buyers tighten the thumbscrews, too? β€’ TechCrunch

January 7, 2023
25 Years of PokΓ©mon Shock: PokΓ©mon’s Seizure Episode, Defined

25 Years of PokΓ©mon Shock: PokΓ©mon’s Seizure Episode, Defined

December 16, 2022

Insta Citizen

Welcome to Insta Citizen The goal of Insta Citizen is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Categories

  • Artificial Intelligence
  • Computers
  • Gadgets
  • Software
  • Solar Energy
  • Technology

Recent Posts

  • Insta360 Movement: A Characteristic-packed Telephone Gimbal With 12 Hours Of Battery Life
  • iOS 16.4: What’s New on Your iPhone
  • Professionals and Cons of Hybrid App Improvement
  • Subsequent Degree Racing F-GT Simulator Cockpit Evaluation
  • Home
  • About Us
  • Contact Us
  • DMCA
  • Sitemap
  • Privacy Policy

Copyright Β© 2022 Instacitizen.com | All Rights Reserved.

No Result
View All Result
  • Home
  • Technology
  • Computers
  • Gadgets
  • Software
  • Solar Energy
  • Artificial Intelligence

Copyright Β© 2022 Instacitizen.com | All Rights Reserved.

What Are Cookies
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking β€œAccept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT