![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using 'stat' to determine file system type (with Zenity) | mdpalow | Shell Programming and Scripting | 0 | 12-20-2007 01:49 AM |
| Different type of shells? | charbel | Shell Programming and Scripting | 1 | 05-05-2006 08:05 AM |
| more than one fs type on the same file system | livemyway | HP-UX | 1 | 12-06-2005 07:11 AM |
| Good Unix Shells ? | IceCold | UNIX for Dummies Questions & Answers | 1 | 11-03-2002 11:03 PM |
| Different type of Shells | sivhard | Shell Programming and Scripting | 5 | 10-08-2002 10:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How do I know what type of shells are available in my Unix system?
How do I know what type of shells are available in my Unix system? Are there a single command or environment variable that can let me find that out?
Best regards, John Chan |
|
|||||
|
look what is installed...
Code:
ls /usr/bin/*sh e.g. (hpux) ant:/home/vbe $ ll /usr/bin/*sh lrwxr-xr-x 1 root sys 44 Sep 14 2006 /usr/bin/autopush -> /opt/star-ncf-prod/ep_patch/usr/bin/autopush -r-sr-xr-x 5 root bin 53248 Apr 28 2007 /usr/bin/chsh -r-xr-xr-x 1 bin bin 155648 Oct 10 2007 /usr/bin/csh -r-xr-xr-x 1 bin bin 152 Nov 14 2000 /usr/bin/hash -r-xr-xr-x 1 bin bin 245760 Nov 14 2000 /usr/bin/keysh -r-xr-xr-x 2 bin bin 159744 Oct 10 2007 /usr/bin/ksh -r-sr-xr-x 1 root bin 32768 Jan 25 2007 /usr/bin/remsh -r-xr-xr-x 2 bin bin 159744 Oct 10 2007 /usr/bin/rksh -r-xr-xr-x 2 bin bin 208896 Dec 15 2007 /usr/bin/rsh -r-xr-xr-x 2 bin bin 208896 Dec 15 2007 /usr/bin/sh lrwxr-xr-x 1 root sys 16 Dec 13 2004 /usr/bin/ssh -> /opt/ssh/bin/ssh |
|
||||
|
echo $SHELL will give you your initial login shell and not your current one.
To find your current shell its Code:
echo $0 |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|