【文件属性】:
文件名称:bash-cheatsheet:bash备忘单
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-29 11:59:51
git bash terminal cheatsheet cloc
bash备忘单
仅限于OS X
目录
使Shell脚本可执行
$ chmod +x script.sh
静态http服务器
# python2
$ python -m SimpleHTTPServer 8000
# python3
$ python3 -m http.server
# alias
alias http= " python -m SimpleHTTPServer 8000 "
Nginx的
# check current config and print config path
$ nginx -t
# update the config
$ open /usr/local/etc/nginx/
# run
$ nginx
# stop
$ nginx -s stop
# restart
$ nginx -s reload
使用sed修改文件
# substitute and
【文件预览】:
bash-cheatsheet-master
----count-example()
--------test.jsx(3KB)
--------script.sh(242B)
--------test.css(701B)
----sed-example()
--------script.sh(252B)
--------test-file.txt(21B)
----README.md(3KB)