Interesting thing to note... logging out of a tty using Ctrl-D does not
register in the .bash_history file (yes, it updates the file with all the
"live" history from that tty), however, if you actually type "exit" is
updates the .bash_history file with the "live" history AND it includes the
exit command.  Since I almost always use Ctrl-D to logout, it means that my
earlier suggestion of /bin/bash ~/.bash_history is very dangerous where if I
had typed exit every time I logout, it does nothing but run everything up to
the first exit command in the history file.  Still dangerous, but not nearly
as dangerous as logging out using Ctrl-D

Curious...

Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to