mac常用命令

1.下载一个文件到本地

# -o: 指定本地文件名
# doc: https://www.osetc.com/archives/219.html
curl -o redis.conf https://raw.githubusercontent.com/antirez/redis/4.0/redis.conf

2.重命名文件

mv A B

3.mac可以安装任何来源的软件

sudo spctl --master-disable

 

posted @ 2019-02-14 14:59  muzi131313  阅读(89)  评论(0编辑  收藏  举报