"David E.Fox"
Here is the bash script I am having problems with...It was
copied from the cdrom for "Linux Shells by Example". (The
lines between the strings of ..
are the script in question.)
#!/bin/bash
# Scriptname: n
On Saturday 14 April 2001 18:28, you wrote:
> I tried ./scriptname and bash reports "No such file or
> directory". I can ls and it shows scriptname* which should
> indicate that it is executable and in the current directory.
Careful here. Scripts can be confused in the sense that it'll report
'n
I tried ./scriptname and bash reports "No such file or
directory". I can ls and it shows scriptname* which should
indicate that it is executable and in the current directory.
btw:
I bought the book "LINUX Shells by Example" by Ellie Quigley
and have been trying to run some of the scripts from the
Hi Dean,
Likely your system is set up (properly so) without the current
directory in the path.
To invoke a shell script named, say, foo.sh, type this:
./foo.sh (Notice the leading dot-slash) and it should run. This
indicates that the script is in the current directory: dot represents
the c
Is there some option I need to set to invoke a bash script?
I have created a script with the #!/bin/bash as the first
line and have chmod +x scriptname to make it executable but
it will not execute unless I issue the "bash scriptname"
command (preceed the scriptname with the command bash).
Is thi