Cheat-linux command-line utility mnemonic tool

Source: Internet
Author: User
Tags bz2 git clone

What the hell is cheat to do?

While we were able to use man and--help to help us see how the commands were used, many engineers felt that they were clearly not enough man!

See how cheat is man.

When I knocked on cheat tar, I saw a lot of practical example, in fact, this kind of help information is easier to remember, it is worth mentioning that cheat will even output some advanced usage!

Cheat InstallationInstallation Dependencies

(If you don't have Git and pip installed, you may need to install Git or pip first.) Apt-get install git)

install docopt
git clone https://github.com/chrisallenlane/cheat.git
go to the directory
install
install cheat  (这个可以省略?)
Cheat Use
cheat tar
# to extract a uncompressed archive:tar-xvf/path/to/foo.tar# toCreate an uncompressed archive:tar-cvf/path/to/foo.tar/path/to/foo/#ToExtract A. GZ archive:tar-xzvf/path/to/foo.tgz#ToCreate a. GZ archive:tar-czvf/path/to/foo.tgz/path/to/foo/#To list the contentof an. GZ archive:tar-ztvf/path/to/foo.tgz# to extract A. bz2 Archive:tar-xjvf/path/to/foo.tgz# to create A. bz2 archive:tar-cjvf/path/to/foo.tgz/path/to/foo/# to list the content of an. bz2 Archive:tar-jtvf/path/to/foo.tgz# to create A. GZ archive and exclude  All Jpg,gif,... from the Tgztar czvf/path/to/foo.tgz --exclude=\*. {jpg,gif,png,wmv,flv,tar.gz,zip}/path/to/foo/         
More Cheat Command
-e <cheatsheet>cheat -s <keyword>cheat -lcheat -dcheat -v

Cheat-linux command-line utility mnemonic tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.