![]() |
|
|
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 |
| Error while running your script -- Balamv | balamv | Shell Programming and Scripting | 1 | 06-06-2008 08:37 AM |
| error in running shell script in cron | sari | Shell Programming and Scripting | 3 | 04-16-2008 05:09 AM |
| When running if condition, getting the following error | sunitachoudhury | Shell Programming and Scripting | 1 | 04-06-2008 03:31 AM |
| Error when running make | shashidhara_01 | High Level Programming | 1 | 02-02-2007 06:35 PM |
| Error in running on AIX 5.2 | SMISS | AIX | 0 | 06-24-2004 12:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate 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. |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|