Re: [opensuse] Installation methods



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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: PcLinux
    ... I never said Windows was more capable, I pointed out that it is just as ... I'm not bashing Linux ... It has been with unix since at least v7 unix. ... This set of command names persists ...
    (rec.crafts.metalworking)
  • Re: PcLinux
    ... I never said Windows was more capable, I pointed out that it is just as ... I'm not bashing Linux ... It has been with unix since at least v7 unix. ... And the reason for the short command names ...
    (rec.crafts.metalworking)
  • Re: The Problems With Linux
    ... > Here are the problems with Linux: ... programmers of UNIX, Open Source software, and Shareware. ... programs only available from BSD. ... BSD code is used by Microsoft in it's Windows NT/9x/2K/XP code. ...
    (comp.os.linux)
  • Re: 4un, 4lin, 4usb
    ... will never be ported to unix or linux or fds. ... I recall queries about a Linux port back in the 4DOS days. ... The biggest enhancements were built-in command line recall and editing, ... the ability to evaluate environment variables on the ...
    (comp.os.msdos.4dos)
  • RE: [Full-Disclosure] CyberInsecurity: The cost of Monopoly
    ... I've used UNIX, ... I've used/use Linux, ... > inefficient operating system - if most other Windows ... This is why I don't run POS operating systems. ...
    (Full-Disclosure)