PS - What does -ksh mean?

Robert E. Landsparger rel at mtu.edu
Thu May 30 15:31:55 AEST 1991


In article <1991May24.200050.16644 at uvm.edu>, moore at emily.uvm.edu (Bryan Moore) writes:
|> 
|> Here is an example of output from a 'ps'
|> 
|> 
|>    PID    TTY  TIME CMD
|>   8571 pts/28  0:02 cu -s2400 -d 16498696585041 
|>  19592 pts/28  4:01 cu -s2400 -d 16498696585041 
|>  24426 pts/28  0:00 /bin/ksh 
|>  28128 pts/28  0:01 -sh 
|>  38877 pts/28  0:00 -ksh 
|>  39030 pts/28  0:00 ps 
|> 
|> 
|> What does the - sign mean in front of sh and ksh?
|> 
|> Thanks!

In most cases that means that the "shell" was a login shell.  And will be
treated as such.  There are more things done to initialize a shell when
it is a login shell.

Bob

-- 

USER:		Can I get a list of *all* the unix commands?
CONSULTANT:	man -k - | lpr -
USER:		huh?

+-------------------------------------------------------------------------+
| Robert E. Landsparger (rel at mtu.edu) - Computing Technology Services
| Michigan Technological University, Houghton, MI 49931	(906) 487-2110
+--------------------------------------------------------------------+
| The above comments do not always represent those of my employer.
+



More information about the Comp.unix.aix mailing list