Xref: utzoo comp.unix.aix:5393 comp.sys.ibm.pc.rt:2178 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!mtu.edu!mtu.edu!rel From: rel@mtu.edu (Robert E. Landsparger) Newsgroups: comp.unix.aix,comp.sys.ibm.pc.rt Subject: Re: PS - What does -ksh mean? Message-ID: <1991May30.053155.2662@mtu.edu> Date: 30 May 91 05:31:55 GMT References: <1991May24.200050.16644@uvm.edu> Sender: news@mtu.edu Reply-To: rel@mtu.edu (Robert E. Landsparger) Organization: Michigan Technological University Lines: 36 In article <1991May24.200050.16644@uvm.edu>, moore@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@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. +