LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Spock's Brain
User Name
Password

Notices


Old

cheat - A Collection Of Practical Linux Command Examples

Posted 12-22-2017 at 09:38 AM by Habitual (Spock's Brain)
Updated 12-24-2017 at 12:02 PM by Habitual

Cheat is the utility.

After the install, you issue
Code:
cheat tar
and we get
Code:
# To extract an uncompressed archive:
tar -xvf /path/to/foo.tar

# To create an uncompressed archive:
tar -cvf /path/to/foo.tar /path/to/foo/

# To extract a .gz archive:
tar -xzvf /path/to/foo.tgz

# To create a .gz archive:
tar -czvf /path/to/foo.tgz /path/to/foo/

# To list the content of an .gz archive:
tar -ztvf
...
LQ Veteran
Posted in Uncategorized
Views 1166 Comments 0 Habitual is offline

  



All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration