mac下操作小记

安装homebrew

https://juejin.im/post/5c738bacf265da2deb6aaf97

主要问题:按官网安装方法(/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)")的话网络卡下载不下来、

 

文件分割与合并

1. tar czvf testfile.tar.gz testfile.doc
  把所需切割文件或目录压缩打包;
2. split -b 40m testfile.tar.gz
  把压缩打包后的文件切割成每份40m的大小;
3. cat x* > testfile.tar.gz
  把切割之后的文件合并成压缩打包文件;
4. tar zxvf testfile.tar.gz
  解压缩并还原成原始文件;

 

git命令补全配置

https://www.jianshu.com/p/7130a5c11d42

 

docker命令补全配置

https://www.dwhd.org/20180610_155743.html

 

posted @ 2019-05-14 17:39  March On  阅读(209)  评论(0编辑  收藏  举报
top last
Welcome user from
(since 2020.6.1)