How do I use the "history" command to fire the last run command?
migrated from stackoverflow.com Oct 15 '10 at 3:44
This question came from our site for professional and enthusiast programmers.
As Ignacio said, use
I think it can be made more concise and robust, but it works for now.
Edit: If you want to use
In Bash, the