![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | 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 !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error while running your script -- Balamv | balamv | Shell Programming and Scripting | 1 | 4 Weeks Ago 04:37 AM |
| error in running shell script in cron | sari | Shell Programming and Scripting | 3 | 04-16-2008 01:09 AM |
| When running if condition, getting the following error | sunitachoudhury | Shell Programming and Scripting | 1 | 04-05-2008 11:31 PM |
| Error when running make | shashidhara_01 | High Level Programming | 1 | 02-02-2007 02:35 PM |
| Error in running on AIX 5.2 | SMISS | AIX | 0 | 06-24-2004 08:06 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Error while running a script
Hi all,
By running a (command) script I'm getting the following error: .: /usr/bin/test: cannot execute binary file This is the command: [oracle@HILinux scripts]$ . test The script (test) is very simple sqlplus user/password @1.sql sqlplus user/password @2.sql Can enyone tell me what the problem is. |
| Forum Sponsor | ||
|
|
|
|||
|
DanielB,
Execute your script with full path name. Example : /usr/local/bin/test or Change your directory to the script path and execute this. Example : cd /usr/local/bin ./test If you to try to execute thus : (. test) The O.S. tries to execute the /usr/bin/test command. And the point before a command test (in your example) without slash (/) is to load variables in the subshell. Witt |