The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-18-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,960
another way,

a simple ps command would get u the listing.

shell that you use currently also would be included.

Ex: let's say your default shell is /bin/ksh

and in .profile at the end; loaded another shell /bin/bash
ps command would give the listing of all shells spawned and the current shell you are in.