Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
10 years ago
Diff never expires
Clear
Export
Share
Explain
2 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
14 lines
Copy
9 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
14 lines
Copy
multissh() {
multissh() {
local hosts=( $* )
local hosts=( $* )
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
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
}
}
Copy
Copied
Copy
Copied
## This
works in tmux
2.0
## This
_only_
works in tmux
>=2.1
Saved diffs
Original text
Open file
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
Changed text
Open file
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
Find difference