Page 1 of 1

Help a newbie well I have some unix

PostPosted: Sat Jan 05, 2002 1:09 am
by Mkullman
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.

Re: Help a newbie well I have some unix

PostPosted: Sun Jan 06, 2002 11:52 pm
by apex
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.

Re: Help a newbie well I have some unix

PostPosted: Mon Jan 07, 2002 2:12 am
by Mkullman
the chmod to make it executable - right?

Re: Help a newbie well I have some unix

PostPosted: Mon Jan 07, 2002 6:45 am
by tunafat
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.

Re: Help a newbie well I have some unix

PostPosted: Sun Jan 20, 2002 6:37 pm
by forty_two
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.

Re: Help a newbie well I have some unix

PostPosted: Fri Dec 13, 2002 10:23 am
by jesustoast
you can just 'sh install.sh' too..