![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sqlplus call | JohnZ1385 | UNIX for Dummies Questions & Answers | 1 | 06-05-2008 07:48 AM |
| Call sqlplus in the shell script | beaniebear | Shell Programming and Scripting | 3 | 05-13-2008 06:30 AM |
| how to differentiate system call from library call | muru | UNIX for Advanced & Expert Users | 2 | 07-19-2007 08:20 PM |
| Sqlplus | LiquidChild | Shell Programming and Scripting | 9 | 06-01-2007 08:22 AM |
| Sqlplus | antkiu | Shell Programming and Scripting | 4 | 09-13-2006 09:36 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Lets start all again.. with vino's addition:
What do you know about unix in general? (may help us understand your pain... and answer accordingly...) vino suggest you set some env variable: the best for you in this case is to edit using vi your .profile on a standard HP system you should be using ksh (or posix..) so in your home directory do a vi of .profile: look for this line: # Set up the search paths: #### and add now: ORACLE_HOME=/usr/oracle/u01/8.1.7 #### and complete the PATH: PATH=$PATH:$ORACLE_HOME/bin export ORACLE_HOME PATH ### save -> :wq now execute . ./.profile env you should see the modified path and the new variable which sqlplus should say /usr/oracle/u01/8.1.7/bin/sqlplus (If you are sure its in that directory...) |
| Forum Sponsor | ||
|
|
|
|||
|
Shawn -
In HPUX /sbin/sh usually points to ksh by default. Most bash installation are in places like /usr/local/bin. This does not mean that /sbin/sh could not point somewhere else, but you have to assume ksh or a POSIX Bourne-like shell. |
|
|||
|
(ant B.11.11 U 9000/800 168921511 unlimited-user license
ant:/sbin $ file sh sh: PA-RISC1.1 shared executable ant:/sbin $ file /usr/bin/sh /usr/bin/sh: PA-RISC1.1 shared executable dynamically linked ant:/sbin $ file /usr/bin/ksh /usr/bin/ksh: PA-RISC1.1 shared executable dynamically linked ant:/sbin $ /sbin/sh is by default only used by root and is pure bourne shell(not dynamically linked), the reason in when in maintenance level or single user you may very well have nothing more than / mounted... this said it doesnt change anything to the syntax given... |