vim .bashrc
alias dudu="du --max-depth=1 -ah" alias au="ps aux | sort -k4nr | head -n 10" alias auth="chmod -R 777" alias clearcache="sync;echo 3 > /proc/sys/vm/drop_caches; echo 1 > /proc/sys/vm/drop_caches;echo 2 > /proc/sys/vm/drop_caches" alias dcup="docker-compose --compatibility -f docker-compose.yml up -d" alias dcsh='docker exec -it' alias dcr='docker-compose restart' alias net='netstat -anp |grep' alias tnginx="/sbin/nginx -t" alias cnginx="/sbin/nginx -t -c /etc/nginx/nginx.conf" alias snginx="/sbin/nginx -s reload"
source .bashrc
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)