On Dec 31, 2004, at 12:01 PM, Craig White wrote:
> I would love to list the steps that I took from history without the
> line
> numbers...
>
> i.e.
> history > /root/install.log
>
> puts line numbers in the file. How to simply get the commands?
History is a shell built-in so it will depend on what you are running.
-h works some places. In bash it is more common to use fc to mess about
with the history file. The -n option to fc does what you want.
--
No matter how far you have gone on the wrong road, turn back.
-Turkish proverb
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss