PDA

View Full Version : bash not dead



tabazzz
19th June 2008, 05:22 PM
Hello.

Using F9, x86_64, gnome.
For each time I use gnome's terminal - a process called bash is started.
Its stays active even after I quit gnome's terminal.

Any thoughts?

wneumann
19th June 2008, 08:13 PM
bash is the shell -- the program that takes terminal input and interprets it to run commands from the shell etc.
It may hang around if it is needed for some process you started from the shell, but if you just open a terminal and then kill it again I'd expect it to die, but I wouldn't worry much if it didn't.

notageek
20th June 2008, 04:58 PM
man bash

http://www.aarontoponce.org/presents/shell-basics/

tabazzz
21st June 2008, 01:20 AM
if you just open a terminal and then kill it again I'd expect it to die, but I wouldn't worry much if it didn't.

Well... it doesn't die.
Not that it worries me, but maybe its a hint for some (un)known bug, or something.

Thanx for the reply :)

A.Serbinski
24th June 2008, 09:51 PM
Are you certain that its the same bash process that you started by opening a terminal? There are many automated scripts that will start bash.

rana
25th June 2008, 01:22 AM
same here in f9 32bits. I do the following:
-open a tab in gnome-terminal
-i do 'ps -f', get bash pid
-close the tab
-bash continues its life

if i do control-d instead of closing the tab, then bash dies