Re: Progams not load after Ubuntu Security Notice USN-732-1 dash

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

 



On Thu, 2009-03-12 at 02:44 -0500, lodewig wrote:
> Thanks . Before to do something wrong or report a false bug , how can
> I check exactly which shell user I am using ? ( I am not so expert in
> Linux.. sorry ..)
> 
Login to the user, start a terminal window and run "ps". 

This should show two processes - the shell as the first line and itself
(ps) as the second.


BTW, to try bash, you can simply run the command "bash". ps will now
show three processes (I just started the Bourn Shell, sh, from the bash
shell):

$ ps
  PID TTY          TIME CMD
 5315 pts/1    00:00:00 bash
 5670 pts/1    00:00:00 sh
 5671 pts/1    00:00:00 ps

"exit" kills the second shell:

sh-3.2$ exit
exit
$ ps
  PID TTY          TIME CMD
 5315 pts/1    00:00:00 bash
 5680 pts/1    00:00:00 ps
 

Martin




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux