[ale] Bash history

W. Keith Miller smeadspam100 at speedfactory.net
Wed Nov 30 07:44:38 EST 2005


!683

Note: this isn't always consitent across Unices.





Christopher Fowler wrote:

>Is there a trick to executing commands in the bash history. 
>
># history | grep long_command
># exec 683
>
>
>I've written a perl script that takes the bash history as stdin and then
>executes the command
>
># history | /tmp/history.pl 683
>
>Works but not an elegant solution.
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>  
>




More information about the Ale mailing list