cli-tarHow can I use the tar command in Unix to create archives in quiet mode?
The tar command in Unix can be used to create archives in quiet mode by using the -q or --quiet flag. This flag will suppress the output of the command, which is useful for redirecting and piping the output of the command.
Example code
tar -cf archive.tar --quiet file1 file2 file3
Code explanation
tar- the command to create archives-c- the flag to create an archive-f- the flag to specify the name of the archive--quiet- the flag to suppress the output of the commandfile1,file2,file3- the files to be included in the archive
Helpful links
More of Cli Tar
- How do I use the command line to tar and zip files?
- How do I use the shell to tar and zip files?
- How can I use tar commands to zip a file?
- How do I use gzip, tar, and zip to compress files?
- How do I use the command line to tar and zip a file?
- How do I use the Unix tar zip command?
- How do I use the command line to tar and distribute files?
- How do I use the command line to tar and zip a file?
- How do I create a tar.zip file in Unix?
- How do I use the command line to tar and zip a file?
See more codes...