Results 1 to 5 of 5
I have downloaded a software tool on my suse guest.
It is set to 777 and I have chown&chgrp it.
I get into root and go to the dir where ...
- 04-23-2008 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 139
trouble executing a command
I have downloaded a software tool on my suse guest.
It is set to 777 and I have chown&chgrp it.
I get into root and go to the dir where the script is, but when I execute it
I get command not found.
I'm confused and don't kwon what else to change or where to look.
Any help is greatly appreciated
thanks
Mace
- 04-23-2008 #2
- 04-23-2008 #3Linux Newbie
- Join Date
- Jun 2006
- Posts
- 139
DOH .. I hate when I do stupid stuff like that
I did it but I'm still haveing a problem.
I now get:
bad interpreter: No such file or directory
thanks
Mace
- 04-23-2008 #4Linux Newbie
- Join Date
- Jun 2006
- Posts
- 139
I searched the forum and found the soloution
perl -i -pe's/\r$//;'
Now I need to find a perl book and figure out what the heck it is saying.
thx
Mace
- 04-23-2008 #5
A few things to check:
- are you using bash and is the script setup to use bash (does the shebang line point to bash or the shell you are using)?
- is the file in unix format? the file may be in dos format and you can use the 'dos2unix' tool to convert it to a unix format file
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.


Reply With Quote
