随笔分类 - linux
摘要:发送指定按键到tmux的特定会话: tmux send-keys [-t <session-name>] <key> key的取值参考tmux man手册: When specifying keys, most represent themselves (for example 'A' to 'Z'
阅读全文
摘要:网上的实在是解释的各种混乱错误,写一份新的,内容基于ps --help Usage: ps [options] Basic options: -A, -e all processes -a all with tty, except session leaders a all with tty, in
阅读全文
摘要:pkill -kill -t pts/15 注销登陆的会话。会话名字用who查看
阅读全文
摘要:1. 变量定义和引用 =两边不能有空格 使用$变量名来引用变量值,也可以用${变量名} a=1 b='str' echo $a $b ${a} ${b} 2. IF语句 2.1 基本格式 if <测试条件> then <语句1> else <语句2> fi if <测试条件1> then <语句1>
阅读全文
摘要:整体参考:https://www.cnblogs.com/chris-cp/p/4843407.html 建议先看上文,照着配置完再看本文。关于25端口被封无法发邮件的解决办法在本文后半部分。 做几点补充: /etc/dovecot/conf.d/10-ssl.conf中把 ssl = requir
阅读全文

浙公网安备 33010602011771号