在tmux往实验室存储里面拷贝文件,然而死机了,导致进入目录特别卡,所以放弃拷贝,直接上菜刀sudo umount mcc被告知设备忙可以用fuser查看哪些进程占用着设备fuser -m -v mccfuser -m -v -k mccsudo fuser -m -v -k mccfuser -m... ...
分类:
其他好文 时间:
2016-12-07 01:51:48
阅读次数:
140
tmux 大概结构图: 1. tmux ls 列粗所以session 2.tmux attach -t foo 选择某个session 3.tmux kill-session -t foo 干掉某个session 4.tmux split-window -h 左右分屏 5.tmux split-wi ...
分类:
其他好文 时间:
2016-11-29 14:08:39
阅读次数:
220
创建并指定session名字tmux new -s $session_name 删除sessionCtrl+b :kill-session 临时退出sessionCtrl+b d 列出sessiontmux ls 进入已存在的sessiontmux a -t $session_name 删除所有se ...
分类:
其他好文 时间:
2016-11-22 02:06:46
阅读次数:
196
“君子生非异也,善假于物也” 。–语出《荀子·劝学》 如果记得没错的话,《荀子·劝学》我们这一代高中的时候应该都读过这篇文章。原意大概是君子的资质与一般人没有什么区别,君子之所以高于一般人,是因为他能善于利用外物。对于技术人来说,好工具的选择和使用往往可以省去很多不必要的麻烦,好的开源工具很多,看你 ...
分类:
系统相关 时间:
2016-11-20 13:54:56
阅读次数:
246
题目: 思路:用Stack基本操作完成。 要检测输入字符是否满足这个条件,一个非常合适的数据结构是stack,后进先出的特征正好满足检测的需求。在检测的时候,每次检查一个字符,如果是左括号,就入栈,如果是右括号,并且右括号和当前栈顶符号是左右配对的,那么就弹出栈顶并且进行下一次检测,如果不满足上面两 ...
分类:
其他好文 时间:
2016-11-08 23:04:47
阅读次数:
207
1.配置文件的使用 在~/.tmux.conf中添加: setw -g mouse-resize-pane on setw -g mouse-select-pane on setw -g mouse-select-window on setw -g mode-mouse on 然后随便进入一个tmu ...
分类:
其他好文 时间:
2016-11-04 20:01:54
阅读次数:
224
Tmux 命令: tmux 开启一个新session tmux a 快速打开 tmux ls 列出全部session tmux kill-session -t myname // 删除当前section 查看端口占用 : netstat -lnpt 搜索文件 : Ctrl + p == > 直接选中 ...
分类:
其他好文 时间:
2016-09-22 23:52:16
阅读次数:
126
tmux frequently asked questionsHow is tmux different from GNU screen? tmux and GNU screen have many similarities. Some of the main differences I am aw... ...
分类:
其他好文 时间:
2016-09-18 19:42:07
阅读次数:
200
1.tmux 进入tmux 2.在tmux中 按ctrl+b 表示要进行tmux操作了。 3. c -> create a session 4. "," -> rename window 原来逗号的因为是 comma 。。。 5. p -> switch to previous window 6. ...
分类:
其他好文 时间:
2016-09-07 14:20:28
阅读次数:
117
1. tmux ls: 显示所有会话(OR: Ctrl-b s)2. tmux new -s session-name: 新建会话3. 可以简单地输入tmux a命令,这样可以接入第一个可用的会话:tmux a或者可以通过参数指定一个想接入的会话:tmux a -t session-name4. t ...
分类:
其他好文 时间:
2016-09-05 23:28:58
阅读次数:
171