Tuesday, February 28, 2012

Nokia N900 X-Terminal


Hi there!
As we know that Nokia N900 hadn't been accepted popularly, However it's one of the most powerful Nokia devices.
You can praise the hardware performance, software options and more. :)

In this topic i'll post the most commonly X-Terminal commands from my personal experience.
In fact... The Linux devices with terminal emulator "like Nokia N900" are most powerful than close source devices like "Symbian devices -N8, E7, N97 etc..."
**********************************************************************************
1- "cp" copy files
e.g.
    cp /home/user/MyDocs/file1.txt /home/user/MyDocs/.Documents
2- "mv" move or rename files
e.g.
    mv /home/user/MyDocs/file1.txt /home/user/MyDocs/.Documents
3- "ls" list files except hidden files
e.g.
    ls /home/user/MyDocs
4- "ls -la" list all files
e.g.
    ls -la /home/user/MyDocs
5- "root" gain user root access
e.g.
    sudo gainroot
6- "mkdir" make new directory
e.g.
    mkdir /home/user/MyDocs/directory1
7- "rmdir" remove existed directory
e.g.
    rmdir /home/user/MyDocs/directory1
8- "rm -r" remove directory with all contained files
e.g.
    rm -r /home/user/MyDocs/directory1
9- "rm" remove file
e.g.
    rm /home/user/MyDocs/file1.txt
10- "cd" change directory
e.g.
    cd /home/user/MyDocs/music
11- "cd .." change directory back
e.g.
    cd ../..
12- "mount" mount file system
e.g.
    mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs
13- "umount" unmount file system
e.g.
    umount /home/user/MyDocs
14- "apt-get update" update catalogs repositories
e.g.
    apt-get update
15- "apt-get install" install app from specified repository
e.g.
    apt-get install nano
16- "dpkg -i" extract ".deb" files
e.g.
    dpkg -i /home/user/MyDocs/nano.deb
17- "df -h" show disk partitions and their space
e.g.
    df -h /dev/mmcblk1p1
18- "du -m" show disk usage in megabytes
e.g.
    du -m /dev/mmcblk0p2
19- "--help" help you know more about command marks
e.g.
    rm --help
20- "exit" exit X-Terminal, or changing to average user mode
e.g.
    exit
21- "echo" print result
e.g.
    echo 123
22- "$" print value of some text
e.g
    p=1 echo $p
23- "find" find specified file
e.g.
    find /home/user/MyDocs/*.txt
24- "CTRL+C" will stop doing some command "like extracting .tar file"
e.g
    ctrl+c
25- "tar -xvf" extract .tar file
e.g.
    tar -xvf /home/user/MyDocs/file1.tar
26- ">" print results into text file
e.g.
    ls >file1.txt
27- "mkfs.vfat" make vfat file system
e.g.
    mkfs.vfat /dev/mmcblk1p1 -n sdcard
28- "mkfs.ext3" make ext3 file system
e.g.
    mkfs.ext3 /dev/mmcblk1p1 -n sdcard
**********************************************************************************
- Make sure that you have "rootsh" first, if not, you will not be able to use most of these commands.
- Don't use uncommonly commands like "umount, mkfs, etc..." if u don't need them.

If you want to know more Maemo Wiki
Rootsh Download Here

Best Regards! :)

4 comments:

  1. i cant access my home/user/mydocs in x terminal its show me cant access wat to do knw any1 help me for this

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. just install shroot.deb or rootsh

    ReplyDelete
  4. will anyone please tell me how to download any file via x terminal...i would also like to know how to INSTALL a game of ".ipk" extension...so if u can...please email me @ alphadragon666@gmail.com

    ReplyDelete