Get the App
SLTechnology News&Howtos  ›  Servers  › 

Installation and initial knowledge of cheat commands in Linux system

Shulou Source: shulou.com Published: 2022-06-02 07:43:40 09月28日 Update

Cheat allows you to create and view an interactive spreadsheet cheatsheet from the command line. It helps remind linux system administrators of options for commands they use frequently but not often enough to remember. Cheat is developed using python, so you can use pip to install cheat on your system. Pip, a Python module bundled with setuptools, is one of the recommended tools for installing Python packages in Linux.

1. Install python

Yum-y install python

2. Install Epel source and install pip

Yum install epel-release-y

Yum install python-pip-y

3. Install git

Yum-y install git

4. Install files that Python depends on

Pip install docopt pygments

5. Clone the project from github to local

Cd / usr/local/src

Git clone https://github.com/chrisallenlane/cheat.git

6. Change to the cheat directory and install cheat

Cd cheat

Python setup.py install

7. Check the version number

Cheat-v

8. View all available cheat commands

Cheat-l

9. Use cheat

Cheat tar

Cheat zip

Cheat yum

.

Tags: Commands systems frequent interactive tools building files are in module version directory administrator project Zhongchuang Zhongan switching help development recommendation management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Microsoft Apple Linux vpn