Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and initial knowledge of cheat commands in Linux system

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report