[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed, 30 Nov 2005 07:44:38 -0500 -->
- <!--x-from-r13: fzrnqfcnz100 ng fcrrqsnpgbel.arg (I. Yrvgu [vyyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Bash history -->
- <li><em>date</em>: Wed, 30 Nov 2005 07:44:38 -0500</li>
- <li><em>from</em>: smeadspam100 at speedfactory.net (W. Keith Miller)</li>
- <li><em>in-reply-to</em>: <<a href="msg00426.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00426.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Bash history</li>
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
><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00428" href="msg00428.html">[ale] Bash history</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00433" href="msg00433.html">[ale] Bash history</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00426" href="msg00426.html">[ale] Bash history</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00426.html">[ale] Bash history</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00428.html">[ale] Bash history</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00426.html">[ale] Bash history</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00428.html">[ale] Bash history</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00427"><strong>Date</strong></a></li>
<li><a href="threads.html#00427"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>