linuxで使う9つのテクニック


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/

          ,        ,