Posted: . At: 1:49 PM. This was 12 years ago. Post ID: 3187
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

Sample Google Android commands output.

This is the output of the uname command on my Android tablet.

# uname
Linux version 2.6.29-s70 (xionglei@dpf.china.huawei.com) (gcc version 4.4.0 (GCC) ) #8 PREEMPT Wed Oct 27 21:55:55 CST 2010

And this is the output of the ps command.

~# ps
 

As you can see, the output of the ps command is different from a Linux machine, but it is still very useful in keeping track of what processes are running on an Android computer. When you are using the Terminal Emulator app on Android and you want to create files with the command-line, type cd /sdcard to navigate to the sd card storage space, then you will be able to create files easily. Typing ps > myps.txt will redirect the output of the ps command to a text file allowing you to review the contents later. The system binaries are stored under /system on Android instead of using the /bin folder in the case of the /system/bin/sh command shell. But it does work very well, and having a command-line shell on your Android device means that you could easily manage files more easily than using the GUI. The inbuilt memory on my Android device is not writable by the command shell even as root, therefore I use the sdcard to create files.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.