Re: history command

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Simon Chatfield
Date:  
To: plug-discuss
Subject: Re: history command

quick and dirty and certainly a better way but,

use cut

history |cut -f4,5,6,7,8,9 -d" " >/tmp/outfile

--- 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?
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
>
> 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 -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss