Linux系統的cheat命令安裝和初識

cheat 容許你在命令行中建立和查看交互式的速查表cheatsheet。它能幫助提醒 linux 系統管理員他們常用但還沒頻繁到會記住的命令的選項。cheat 是使用 python 開發的,因此能夠用 pip 來在你的系統上安裝 cheatpip 是一個與 setuptools 捆綁在一塊兒的 Python 模塊,它是在 Linux 中安裝 Python 包推薦的工具之一。python

 

1、安裝pythonlinux

yum -y install pythongit

2、安裝epel源、安裝pipgithub

yum install epel-release -y ide

yum install python-pip -y 工具

3、安裝gitspa

yum -y install git命令行

4、安裝Python依賴的文件ip

pip install docopt pygments開發

5、從github克隆項目到本地

cd /usr/local/src

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

6、切換到cheat目錄,安裝cheat

cd cheat

python setup.py install

7、查看版本號

cheat -v 

8、查看全部可用的cheat命令

cheat -l 

9、使用cheat

cheat tar 

cheat zip

cheat yum

。。。。。。

相關文章
相關標籤/搜索