![]() |
Re: A equivilent of a .bat file on the n900
i tried to do as you said qwerty but i can't get it working, i'm not sure what to try now, i think texas has summed it up nicely, i'll have to run it from root for now.
Is there a way to clear the contents of the powerlevel.sh file from x terminal? i accidentially but the command in the file once wrong. |
Re: A equivilent of a .bat file on the n900
Quote:
Code:
#!/bin/sh |
Re: A equivilent of a .bat file on the n900
Quote:
Well, this worked for me: Code:
#! /bin/sh |
Re: A equivilent of a .bat file on the n900
Quote:
That's the idea of the sudo system. |
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
You can use rootsh instead of sudo. For example: rootsh <command> will execute <command> as root.
|
Re: A equivilent of a .bat file on the n900
Quote:
1. Open up xterm. 2. In xterm type: vi powerlevel.sh 3. Press "i" key it will activate "Insert" mode. 4. Type as it is there (every line is a new line so there is enter after every line however, you don't press space in the front). 5. After you have finished typing everything, press the esc key and then ":" followed by "wq" (without double quotes) and hit enter. 6. It will save your file as powerlevel.sh in the same directory you are currently working. 7. Again in the xterm type: chmod +x powerlevel.sh 8. To execute: ./powerlevel.sh That's it. |
Re: A equivilent of a .bat file on the n900
Quote:
https://help.ubuntu.com/community/RootSudo A little verbose, but you can skim read to the parts relevant to you [and Maemo] |
All times are GMT. The time now is 02:27. |
vBulletin® Version 3.8.8