MAC之基本命令(持续更新)

把img.part1复制到test.jsp:       cp img.part1 test.jpg
打开文件:    open test.jpg 
把地址的内容写到文件testapi-1.txt    curl "http://192.168.1.171:2018/api/get_list?si=1&row_count=2" -o testapi-1.txt
命令行打开文件:    more testapi-1.txt
移除文件:  rm (-i)是否移除询问 
移动文件:  mv (-i)是否移动覆盖询问 
复制文件:  cp 
列出当前路径文件信息:  ls
列出当前路径文件详细信息:  ll
查询命令行使用过的命令:  history
把查询过的命令写入一个问件:  history > 1.txt
搜索文件中所有带有progress的:  grep progress * -Ri  (R是递归,i是忽略大小写)
原文地址:https://www.cnblogs.com/lee0oo0/p/3132638.html