I've tried that. The thing is when I issue that command in the shell, it work 
but when it is run on a script, it does not work. the file is empty all the 
time. Makes no sense to me that's why I'm looking to the file the kernel 
store to. 

Is there a way to use the history command on a script?

On Thursday 06 November 2003 16:04, MSL wrote:
> alben benavente alteza wrote:
> >where can I find the file which contain the history of the commands I've
> > made. The .bash_history is not that updated. I need the file which
> > contain the
>
> the .bash_history  updates itself once you logged out yourself to the
> console
>
> >commands I issue. Like the history which the command history output.
>
> or you can output the history command to another file like:
> bash$ history >> histfile.txt
>
> >thanks
>
> /msl
>
>
>
> This message has been scanned by Webshield!

-- 
Alben Benavente Alteza 
Information Systems Security Administration
Information Systems Dept./ Philippine Airlines 

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to