Making a script executable
Eric D
hideme666 at hotmail.com
Tue Oct 5 16:35:49 MDT 2004
Hi, I'm trying to make a script executable but not having much luck with it:
I've put the following into a file called mg.
mount /dev/hdc7 /mnt/macosx -thfsplus
I have chmod a+x mg
This is what the permissions look like for mg:
-rwxr-xr-x 1 edunbar edunbar 38 Oct 4 20:20 mg
When I try to run it from the command line (bash) I get:
bash: mg: command not found
2nd question: I probably have to be root to mount a hfs+ partition... how
can I build that into the script?
Eric.
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
MSN Search! Check it out!
More information about the yellowdog-general
mailing list