quick and dirty and certainly a better way but,
use cut
history |cut -f4,5,6,7,8,9 -d" " >/tmp/outfile
--- Craig White <
craigwhite@azapple.com> 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?
>
> Craig
>
> ---------------------------------------------------
> 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
>
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
---------------------------------------------------
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