1、命令帮助神器

a)离线版本
# yum -y install npm
# npm install -g tldr
# tldr find

b)在线版本
http://cht.sh/


2、下载神器:axel
yum -y install axel
axel -n 50 https://mirrors.aliyun.com/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso
支持断点续传
wget -c URL


3、快速查找命令对应的安装包
yum provides "*/axel"
yum whatprovides "*/axel"


4、watch

watch -n 2 -d du -sh /


5、screen

yum -y install screen
a)后台运行任务
b)同步演示
首先演示者先在服务器上执行 screen -S test 创建一个screen会话,观众可以链接到远程服务器上执行screen -x test 观众屏幕上就会出现和演示者同步


6、python快速配置(http & ftp下载器)
a)http
进入需要共享的目录:基于python2的版本,python -m SimpleHTTPServer
进入需要共享的目录:基于python3的版本,python -m http.service
python -m 模块 端口

b)ftp
Python没有内置一个直接可以用的FTP服务器,所以需要第三方组件的支持,我找到的这个组件叫pyftpdlib
# pip install pyftpdlib -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
# python -m pyftpdlib -p 21


7、阿里云-oss并发上传
# mkdir -p tools
# cd tools
# axel http://gosspublic.alicdn.com/ossutil/1.6.9/ossutil64?spm=a2c4g.11186623.2.12.43df448akJnEj7
# chmod +x ossutil64
# ./ossutil64 config -e http://endpoint地址 -i AK -k AKS
# ./ossutil64 --parallel=5 cp -f /smartping/smartping-v0.8.0.tar.gz oss://bucketinfo


8、自动补全命令(Tab补全)
# yum -y install bash-completion


9、设置操作系统的字符欢迎界面,提醒符
cat /etc/motd
http://www.network-science.de/ascii/

使用效果我就不展示了,有兴趣的同学敲下,相信会有收获的