Bash has the `history` builtin:

    history > somefile.txt
    history | grep 'mv'

etc.

-- justin


On Wed, Dec 21, 2011 at 11:13 PM, Make Compile <[email protected]> wrote:
> hey guys,
>
> anyone can provide atleast simple bash script where i can redirect the output 
> of command history on a text file. Thanks in advance
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */



-- 
http://justinhileman.com

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to