history | grep ssh
!423 # Search your history for commands matching ssh and then execute command #423 from the output. Thx @JimBasney
-
-
Replying to @climagic
@climagic@JimBasney I just use ^R; I have that awful bash ! thing disabled because it messes up interpretation of commands containing !s.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker how did you disable that?@climagic@JimBasney1 reply 0 retweets 0 likes
Replying to @AmberGazes
@AmberGazes @climagic @JimBasney set +H in your .bashrc and .bash_profile.
8:46 PM - 14 Apr 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.