Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-13-2005, 03:17 PM   #1
Grassie Coetzee
LQ Newbie
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
Commands from shell script not working

I am trying to execute the following script:

export PATH
sqlplus arts02/virtual <<!

The result Iam getting is ./do_sql: 134855424: Permission denied

Even doing a basic ll command from the script is not working..

I have all the rights etc. but don't understand the problem. Can somebody please help me.

Old 03-13-2005, 03:20 PM   #2
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Rep: Reputation: 15
Do you have the file chmodded to be executable? That's the only reason I see for it to respond like that.
Old 03-13-2005, 03:31 PM   #3
Grassie Coetzee
LQ Newbie
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the response.

Yes the file is executable but I don't understand the problem. I can't even do a 'ls' or any command from a script.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Commands/Shell script ?? paraiso Linux - Newbie 11 04-21-2005 11:58 AM
Use a shell script to do login and other commands jpan Linux - General 15 01-12-2005 07:52 AM
shell script not working sanjith11 Programming 2 07-07-2004 03:55 AM
two commands in a script file not working toastermaker Programming 6 01-04-2004 08:15 AM
why my shell script is not working linuxlah Linux - General 4 08-01-2002 09:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration