On Sun, 2007-02-04 at 15:29 -0800, J Sloan wrote:
Doug McGarrett wrote:
On Sunday 04 February 2007 15:24, Rajko M. wrote:
On Sunday 04 February 2007 13:04, charles buchanan wrote: ...
You can't run a program from the directory it's in. That seems to be a UNIX no-no. Back up one directory, and run the command with /directory/install...etc. I know it's goofy, but that's UNIX--and Linux. In this case, the "directory" is /username.
Eh? In unix, you can run a program in any directory, from any directory, no limits, whatsoever.
If the program is not in the path (regardless of what directory the program is in, or your current directory) simply use the full path to the program.
For Example:
If the file "install.sh" is in the current directory, simply type:
./install.sh
"." means the current directory in unix speak.
You may need to chmod 777 install.sh first, if it's not executable.
Actually 555 would do. the modes are rwx where r=4, w=2 and x=1. Add them together for the total. The minimum needed to run a file (script) is r_x=5, you need the ability to Read the file and eXecute it. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org