From the course: Ubuntu Linux: Essential Commands
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Compress and decompress files
From the course: Ubuntu Linux: Essential Commands
Compress and decompress files
- [Instructor] 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 called 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 more time as compared to hard drives or solid state memory. So the tape archive needed to have all of the information organized in a way that worked for that medium. A tape archive…
Contents
-
-
-
-
(Locked)
Files on Linux10m 27s
-
(Locked)
Text files8m 52s
-
(Locked)
Work with files and directories10m 16s
-
File links7m 27s
-
(Locked)
Finding files4m 40s
-
(Locked)
Input/output redirection6m 18s
-
(Locked)
Compare text files4m 43s
-
(Locked)
Compare non-text files3m 20s
-
(Locked)
Compress and decompress files9m 12s
-
(Locked)
Explore regular expressions3m 36s
-
(Locked)
Change files programmatically4m 42s
-
(Locked)
-
-