Another way to print the last used command in your bash shell.
This very simple trick, prints the last used command in your bash history, with one weird trick. deusexmachina:~ jason$ echo !! echo ifconfig | awk ‘/inet / { print $2 }’ | sed -n 2pdeusexmachina:~ jason$ echo !! echo ifconfig | awk ‘/inet / { print $2 }’ | sed -n 2p To print the … Read more