answersLogoWhite

0

The 'compress' command is normally supplied in all Unix and Linux distributions. The Gzip protocol is also very common, as is the original pkzip format.

7z is also used along with others, but those are the most popular.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


Which Linux command is used to copy a file?

in terminal it is : #cp file_a file_b


Which command is used to create an empty file with file size zero bytes so that you can write in these files later in unix and Linux?

touch newfile will make a new empty file in linux os !


What command is used to assign executable permission to all for the filetxt in Linux?

the command to make anything executable is chmod +x <file>


What Linux command is used to compare the difference between two file display the difference?

The command is: diff file1.txt file2.txt


Which command is used to move a file?

The command MV is used to move a file in simple Linux Code. This command will move files and directories from one spot to another spot. To move a file, one would simply type in the letters MV before its name.


Which command can be used to execute a series of Linux commands at a specified time?

You can schedule jobs using cron and the /etc/crontab file, or you can use the "at" command


What Linux command is used for displaying all the records with space or special characters between fields in the file?

cat


What utility on Linux can be used to copy a file including text and executable program binary files?

The cp command does that.


What Linux command displays the last part of a file without editing it?

The tail command can be used to output the last part of a text file. The default is to show the last 10 lines of a file and options are available to override this.


When pack command is used the original file size is reduced by?

There is no "pack" command in Linux. However, there are numerous compression and archival programs available for use."tar" is an archival program. It does no compression, but allows you to put multiple files into one."gzip" is a compression program. However, it can only compress one file. Used in conjunction with tar, it is just slightly better than the ".zip" format."bzip2" is another compression program with better compression ratios. Like "gzip," it is for compressing single files only. It is usually used in conjunction with "tar.""zip" and "unzip" are programs for the "ZIP" archive format. It performs both compression and archival.Answer:I'm not sure if this is an improvement to the above answer or not. As mentioned above, there is no "pack" command in Linux but, in addition to the excellent answer above, a compiled program may be 'stripped' in Linux with the 'strip' command and this will usually serve to reduce the binary file size. The Linux 'strip' command modifies the binary program's symbol tables.


What Linux command is used to zip only a subdirectory?

In order to zip a subdirectory in Linux you would use the zip command with the recursive flag to specify that it should add all files under that directory into the zip file. The command would then be zip -r .zip .