Help a newbie well I have some unix

Mkullman

2002-01-05 01:09:00

experience and I am sitting home with a back injury and want to get back into it. I was trying to install unrar 2.5 but not sure what I am doing. I can navigate to it on my desktop and in the terminal and there is a install.sh file that looks like a shell script (I opened it with text edit) and then a bin folder with the a file named unrar. I tried to run the script but no luck - any help is appreciated.

apex

2002-01-06 23:52:00

Type:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
chmod 755 install.sh
./install.sh
</pre>[/quote]

As root of course.

Mkullman

2002-01-07 02:12:00

the chmod to make it executable - right?

tunafat

2002-01-07 06:45:00

Yeah. Take a look at chmod(1). chmod 755 will give it:
rwx,r-x,r-x for user, group, world.

The user (this case root) will have read/write/executable access. Groups will have read/executable/no writer. Same with world.

forty_two

2002-01-20 18:37:00

Originally posted by tunafat:
Yeah. Take a look at chmod(1).


For unix newbies, this means to read the man pages on chmod, chapter one.

type "man chmod" in terminal to see the man(ual) for chmod. type "man -c 1 chmod" to read chapter one of the manual.

Hope that helps.

jesustoast

2002-12-13 10:23:00

you can just 'sh install.sh' too..