This is a discussion on Re: script execution problem within the Linux General forums, part of the Linux Forums category; In article <bgbldv$2u4v$1@biggoron.nerim.net>, "Elekaj34" <elekaj34@hotmail.com> writes: >...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <bgbldv$2u4v$1@biggoron.nerim.net>,
"Elekaj34" <elekaj34@hotmail.com> writes: >Hello > > I have installed a RedHat Linux 8.0 (on me home PC). > > In my /root directory, there is a file named 'jobs'. > This file has the following attributes : > -rwxr-xr-x 1 root root 1294 jui 31 19:47 jobs > > Tis file start with the following line : > #! /bin/sh > > When I try to run it, this is the result : > : bad interpreter: No such file or directory > > In the /bin directory, the file 'sh' exist. > > Can you help me ? > > I want to be able to run this file correctly Is /root in your search path? If not you need to type the path explicitely, e.g. /root/jobs -- --------------------------------------------------------------- Brian V. Smith (bvsmith@lbl.gov) http://epb.lbl.gov/BVSmith Lawrence Berkeley National Laboratory I don't speak for LBNL - they don't pay me enough for that. Check out the xfig site at http://epb.lbl.gov/xfig or http://www.xfig.org |