Bad History when SuperUser.

Kevin Wang rightsock at gmail.com
Wed Oct 13 01:12:26 UTC 2004


Some shells also exclusively read/write to the history file, and not
keep it in memory.  that really makes things entertaining, because
when running two shells running as the same user, "!!" is not always
what you think it's going to be!

for example:
shell 1: ls /dev
shell 2: ls /tmp
shell 1: !! == ls /tmp

Oops!  but it can be a good thing sometimes. it grows on you after awhile.




More information about the fedora-list mailing list