Sponsored Content
Operating Systems Linux Android Example Linux Commands on Android Post 302457206 by Neo on Monday 27th of September 2010 02:04:50 PM
Old 09-27-2010
Example Linux Commands on Android

In case you are interested, here is a partial list of linux-like commands on Android OS:

/sbin
Code:
adbd
devmgr
recovery
dfta
init
dfta.sh
fat.format
redbend_ua

/system/bin (partial list)

Code:
sh
date
netstat
mount
umount
rmdir
setconsole
bluetoothd
reboot
logcat
cmp
linker
bugreport
iftop
gpsd
schedtop
fsck_msdos
rmmod
id
notify
input
dhcpd
dmesg
sendevent
renice
ioctl
iperf
dumpmsg
toolbox
dumpstate
lsmod
ln
rm
dd
netcfg
pppd
ifconfig
df
ping
kill
printenv
keystore
route
ps
newfs_msdos
hd
dumpsys
installd
iptables
getprop
chown
applypatch
chown
debuggerd
sync
service
mv
wipe
gzip
ls
getevent
stop
start

There are other standard commands like:

Code:
cd
pwd

and more... but I will add them later (or if you use Android, please help me out!)

Also, there is a Linux-style /proc filesystem.
 

10 More Discussions You Might Find Interesting

1. Android

Android is Linux (and Java)

In case you did not know, Android 2.1, Éclair, runs on the 2.6.29 Linux kernel. However, the user space it is built atop Dalvik, a Google-designed custom JVM (Java virtual machine). This is pretty interesting, when you think about it. The core of Android is the linux kernel, and the standard... (5 Replies)
Discussion started by: Neo
5 Replies

2. Android

android bring linux to end user

one of the thing that I think is great in android is that it bring linux to the end user. Until now linux was used mainly on servers, super computer and embedded device. However now with the smartphone and tablets, many people that never heard about linux use it without nowing it. The... (1 Reply)
Discussion started by: programAngel
1 Replies

3. Android

Android Scripting Environment: Shell Scripting and Android

I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies

4. Android

64 bit Android SDK in GNU/Linux

Hi guys :) I've just switched from 32 bit to a 64 bit Arch Linux and I've installed the android SDK but, I can't run the emulator because some lib is missing ( ia32-libs ), if anyone have resolved this problem in a non Debian based GNU/Linux Distro let me know. I've search the web for that lib but... (2 Replies)
Discussion started by: pharaoh
2 Replies

5. UNIX for Dummies Questions & Answers

Noob scripting question with android ADB commands

Hi I'm pretty new to scripting and I've been googling around looking for an answer but have yet to come up with a proper solution. I work with multiple android devices at a time and I'm looking to simplify my life with a script. Basically I'm looking for a script that takes the device ID's and then... (2 Replies)
Discussion started by: Onyoursix
2 Replies

6. Programming

Tools to monitor system performance in Android or linux

Hi, May i know the tools which will give the below details in a consolidated fashion for some 'X' duration in single and multicore processors, 1) How many times and how long scheduler code and kernel threads are executing ? 2) Details about each process, time spent in each state (run, wait... (0 Replies)
Discussion started by: tkarthi85
0 Replies

7. Red Hat

How to use android App in Linux?

Hi, I want to use android Apps like whats up with my linux pc. Can any one give some steps or way how to do the same ? (1 Reply)
Discussion started by: Priy
1 Replies

8. Android

Basic commands for android!!

Hi, I have a n android phone and just rooted it. I access it using 'terminal Emulator'. I performed many basic linux-like commands in the terminal like rm,ls,df,reboot etc and they are working fine. But many of them are not like man <something>, clear,du etc. Can any of you please help to... (20 Replies)
Discussion started by: shekhar_4_u
20 Replies

9. Android

Running only the Linux kernel of an Android device

I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device. The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Discussion started by: raoulney
0 Replies

10. UNIX for Beginners Questions & Answers

Compiling Android system on Linux MInt

i have been trying to compile an android Marshmello system with no success. every time i try to compile i get this error javac: invalid source release: 1.7s Usage: javac <options> <source files> make: *** Error 41 #### make failed to build some targets (03:04 (mm:ss)) ####... (2 Replies)
Discussion started by: gearm
2 Replies
ppmtosixel(1)						      General Commands Manual						     ppmtosixel(1)

NAME
ppmtosixel - convert a portable pixmap into DEC sixel format SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC LJ250 color inkjet printer. If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file. OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com- pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni- tude larger than a compressed file and prints much slower. -margin If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci- fied, a 1.5 inch left margin will offset the image. PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?. BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation. SEE ALSO
ppm(5) AUTHOR
Copyright (C) 1991 by Rick Vinci. 26 April 1991 ppmtosixel(1)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy