From the course: Ubuntu Linux: Essential Commands and System Administration
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Compress and decompress files
From the course: Ubuntu Linux: Essential Commands and System Administration
Compress and decompress files
Archives let us combine a lot of individual files into one larger file, and compression gives us the opportunity to reduce the overall size of one or more files. Archives and file compression can sometimes be treated as the same thing, but here on Linux, we need to at least initially think of them separately. An archive is not necessarily compressed, but it does take a bunch of files and combine them all into one file, which can make it easier to store, transmit, or keep track of. On Linux, the archive format we use most often is tar, short for tape archive. Originally, this format was designed to take a number of files and store them in a way that makes sense for a tape drive to record the information onto a tape. A tape is linear, so seeking between different locations takes a lot of time as compared to hard drives or solid-state memory. So the tape archive needed to have all the information organized in a way that worked for that medium. A tape archive collects everything into one…
Contents
-
-
-
-
(Locked)
Using the bash shell5m 50s
-
(Locked)
System documentation10m 30s
-
(Locked)
Files on Linux9m 20s
-
(Locked)
Work with files and directories9m 16s
-
Hard links and symbolic links6m 37s
-
(Locked)
Finding files4m 19s
-
(Locked)
Edit text files with nano and vi8m 59s
-
(Locked)
Redirection and pipes6m 15s
-
(Locked)
Manipulate text with sed and awk4m 2s
-
(Locked)
Search for and compare text with grep and diff5m 32s
-
(Locked)
Compress and decompress files8m 27s
-
(Locked)
-
-
-
-
-
-
-
-
-
-