![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 10:55 AM |
| Difference between writing Unix Shell script and AIX Shell Scripts | haroonec | AIX | 0 | 04-11-2006 11:27 PM |
| How to run unix commands in a new shell inside a shell script? | hkapil | Shell Programming and Scripting | 2 | 01-04-2006 02:56 AM |
| how to convert from korn shell to normal shell with this code? | forevercalz | Shell Programming and Scripting | 21 | 11-22-2005 10:18 PM |
| simple shell - how to get a parameter typed in a shell script | cmitulescu | Shell Programming and Scripting | 3 | 12-05-2001 11:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
HP-UX B.11.11 U 9000/800 (tb)
in /etc/passwd : SHELL=/sbin/sh in man sh : Code:
_________________________________________ | To obtain: | Use the command: | |_______________|_______________________| | POSIX Shell | /usr/bin/sh ... | | Korn Shell | /usr/bin/ksh ... | | C Shell | /usr/bin/csh ... | | Key Shell | /usr/bin/keysh | | Bourne Shell | /usr/old/bin/sh ... | |_______________|_______________________| i like to know which shell i am using?... ie /sbin/sh is posix shell or bourne shell?.. Last edited by Perderabo; 10-23-2005 at 01:04 PM. Reason: Add code tags and clean up table for readability |
| Forum Sponsor | ||
|
|
|
||||
|
Quote:
Code:
$ uname -srm HP-UX B.11.11 9000/800 $ file /usr/bin/sh /sbin/sh /usr/bin/sh: PA-RISC1.1 shared executable dynamically linked /sbin/sh: PA-RISC1.1 shared executable $ exec /sbin/sh $ [[ +123 = ?(+|-)+([0-9]) ]] && echo +123 is an integer +123 is an integer $ |