01 2019 档案
摘要:我的~/.tmux.conf set-window-option -g mode-keys vi #可以设置为vi或emacsset-window-option -g utf8 on #开启窗口的UTF-8支持bind h select-pane -Lbind j select-pane -Dbin
阅读全文
摘要:脚本参数 $* $@ $N shift 执行一个脚本时可以传递参数, 事实上每个参数都有对应的变量$0~$9 ./start.sh a b c $0 $1 $2 $3 当参数超过9时, 使用 "shift N" 来移动除$0之外的参数, 前N个参数就像消失了一样, 不能再被引用了 shift 1 .
阅读全文
摘要:压缩格式主要有.zip .gz .bz2等多种分别是zip gzip bzip2等工具的输出格式 1. zip 常用命令: zip unzip zipinfo 压缩 [01:35:28] ~/bash $ zip a.zip ziptest/* adding: ziptest/a.c (stored
阅读全文
摘要:Mosh 登录器 == 针对TCP被某些防火墙阻断的Linux机器, 该程序可以让你不使用TCP代理就可以登录 == 在Linux端安装server并运行即可 == https://github.com/develon2015/Mosh-UDP.git 首先需要了解mosh-client如何登录Li
阅读全文