maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   How do i run a shell script? (https://talk.maemo.org/showthread.php?t=14941)

Slixor 2008-01-12 20:30

How do i run a shell script?
 
Ok i have a shell script, but firstly, what file extension does it need?
and secondly, where do i put it on my phone, and then how do i run it?

big thanks to anyone who can help

brendan 2008-01-12 20:38

Re: How do i run a shell script?
 
unless you have shell access on your phone, you cannot run shell scripts.

Slixor 2008-01-12 20:39

Re: How do i run a shell script?
 
how do i get shell access

brendan 2008-01-12 20:45

Re: How do i run a shell script?
 
on your phone? i dont think you can.

are you referring to your nokia ITT as a phone? that would be a different story.

Slixor 2008-01-12 20:47

Re: How do i run a shell script?
 
yeah sorry, i meant my IT xD i didnt mean to say phone

brendan 2008-01-12 20:50

Re: How do i run a shell script?
 
install xterm, or flash to the newest OS2008, as it is a default package.

to make a shell script executable, chmod +x /path/and/filename

or to simply execute a file

sh /path/and/filename

Slixor 2008-01-12 21:07

Re: How do i run a shell script?
 
Cheers mate =]

bluesubaru 2008-01-28 03:04

Re: How do i run a shell script?
 
Where can i put the scripts so they are in the path?

They don't run from /home/user without a ./

Johnx 2008-01-28 03:15

Re: How do i run a shell script?
 
Code:

echo $PATH
will show you which directories are in your path.

bluesubaru 2008-01-29 15:49

Re: How do i run a shell script?
 
Is there GUI file manager I can run that will see all the directories after I gain root access in Xterm?


All times are GMT. The time now is 06:19.

vBulletin® Version 3.8.8