Will Clarke

Save time with Bash & !!

2015-03-14

!! in Bash / Zsh works the same way as _ does in irb / Pry.

It substitutes the return value of the previous line into the current line.


Tags

bash zsh shell tips