On 23 Jul 2002 at 15:40, Kingsly John wrote: > > "Shridhar Daithankar" <[EMAIL PROTECTED]> Wrote--- > > All such commands are logged in shell history file which depends upon user > > shell. It's .bash_history for bash and .sh_history for sh/ksh, IIRC. > > > > Of course, root can read those files.. > > Doesn't always work.. if the person does 2 or more simultaneous logins then > only the history of the last logged out shell is available.
Well actually that depends. Bash is bit more intelligent. If you have more than two logins for same user, it does not merge the history immediately. Separate history is available in each session, but I believe they are merged at some point of time, again intelligently.. As against, stupid ksh on HP-UX where you recall command typed in a separate session.. And no alternatives on these, please.. I don't administer the boxes.. Bye Shridhar -- Goda's Truism: By the time you get to the point where you can make ends meet, somebody moves the ends. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
