Nokia N900 Basic X-terminal Commands / Comenzi X-terminal





** X-terminal is like command prompt in windows. Its the best way to install apps and do other stuff.



**Be sure you install rootsh in order to use most all of these commands, and to install/remove applications FIRST.  You can download the rootsh from your appmanager.

root
– Takes you to the MAIN root folder (like c:/ in windows)

sudo gainroot
– Takes you to the user root folder: /home/user  and allows you to use commands to control processes

cd MyDocs
– Takes you to the folder that is named “N900” or whatever you name your device. 
This is the same place that you see when you open the file manager and choose your N900 or Memory Card.  When you Choose N900, this is the “MyDocs” you just cd’ed to.

apt-get install [application name]
- To install application from the repositories activated

apt-get update
- Updates local metadata detailing what apps are available in the repositories

apt-get upgrade -y
- Upgrades any installed apps with newer versions (the -y is optional and just avoids it prompting you as to whether or not to proceed)

apt-get remove “file name”
– uninstalls a program/application

apt-get clean
- will remove any downloaded package archives. Once the package is installed the downloaded file is no longer needed. The App Man does this automatically but if you're using "apt-get" you'll have to do it manually

apt-get autoclean
- same as "apt-get clean" but only removes package archives which are obsolete (no longer in repositories). Having run "apt-get clean it's pointless to run this command.

apt-get autoremove 
- removes any packages which are no longer needed. These are applications/libraries which were automatically installed because of dependencies but are no longer required

ls
- (lower-case “L”)will list all docs and folders in the “folder” that you are in.

apt-get -f install
- installs any missing dependencies (which should fix the broken packages issue I had)

free
- shows memory detail

Comentarii