Mag Gam on 13 Sep 2007 12:00:18 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Bash History question

  • From: "Mag Gam" <magawake@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: [PLUG] Bash History question
  • Date: Thu, 13 Sep 2007 08:00:07 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=29hS9vT2mF3Gkl+eCUWhz5Seh52OqJXvvnRBmjYm4yo=; b=WPjwchTg9cbHIzCLL0veNkR+FGIrotP2/h9w/RP2o6elSd2JD0DSjkopYbcAz9U13IEabExCUec6mPREx6bo8Q63FYGkfUVTfF3CUYQxQUWurTH0nq23Sm8sABqgD/IQenyOIZ/IjFnk7AxCoF2e32uerF3INnWl2kMQHEXp6PM=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

Hello:
 
Just started to use Linux exclusively, and I have a question pertaining Bash History. I know the history is logged in .bash_history or ($HISTFILE var). My question is, when I fork a new shell ie.
$ echo $$
2232
$ bash
$ echo $$
4434
 
Where is the history kept for bash.4434? and what happens to the history of bash.2232? How does this work, very confusing to me....
 
Thanks in advance..
 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug