Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
10年前
差异永不过期
清除
导出
分享
解释
2 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
14 行
全部复制
9 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
14 行
全部复制
multissh() {
multissh() {
local hosts=( $* )
local hosts=( $* )
复制
已复制
复制
已复制
tmux new-window
"ssh ${hosts[0]}"
local win=$(
tmux new-window
-dP
"ssh ${hosts[0]}"
)
unset hosts[0]
unset hosts[0]
for i in "${hosts[@]}"; do
for i in "${hosts[@]}"; do
复制
已复制
复制
已复制
tmux split-window -h
"ssh $i"
tmux split-window -h
t$win
"ssh $i"
tmux select-layout
tiled > /dev/null
tmux select-layout
-t$win
tiled > /dev/null
done
done
复制
已复制
复制
已复制
tmux select-pane -t
0
tmux select-pane -t
$win
tmux set-window-option
synchronize-panes on > /dev/null
tmux set-window-option
-t $win
synchronize-panes on > /dev/null
}
}
复制
已复制
复制
已复制
## This
works in tmux
2.0
## This
_only_
works in tmux
>=2.1
已保存差异
原始文本
打开文件
multissh() { local hosts=( $* ) tmux new-window "ssh ${hosts[0]}" unset hosts[0] for i in "${hosts[@]}"; do tmux split-window -h "ssh $i" tmux select-layout tiled > /dev/null done tmux select-pane -t 0 tmux set-window-option synchronize-panes on > /dev/null } ## This works in tmux 2.0
更改后文本
打开文件
multissh() { local hosts=( $* ) local win=$( tmux new-window -dP "ssh ${hosts[0]}" ) unset hosts[0] for i in "${hosts[@]}"; do tmux split-window -ht$win "ssh $i" tmux select-layout -t$win tiled > /dev/null done tmux select-pane -t $win tmux set-window-option -t $win synchronize-panes on > /dev/null } ## This _only_ works in tmux >=2.1
查找差异