Closed mtiudaeu closed 7 years ago
use this command to launch last command and put in an alias history | tail -2 | head -1 | awk '{ print substr($0, index($0,$3)) }'
history | tail -2 | head -1 | awk '{ print substr($0, index($0,$3)) }'
Or maybe !!?
!!
remove sp, spe, last_command file and others
Just add an alias in bash_aliases.
Fixed
use this command to launch last command and put in an alias
history | tail -2 | head -1 | awk '{ print substr($0, index($0,$3)) }'
Or maybe
!!
?remove sp, spe, last_command file and others
Just add an alias in bash_aliases.