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
Locale::Codes::LangVar(3pm)				 Perl Programmers Reference Guide			       Locale::Codes::LangVar(3pm)

NAME
Locale::Codes::LangVar - standard codes for language variation identification SYNOPSIS
use Locale::Codes::LangVar; $lvar = code2langvar('acm'); # $lvar gets 'Mesopotamian Arabic' $code = langvar2code('Mesopotamian Arabic'); # $code gets 'acm' @codes = all_langvar_codes(); @names = all_langvar_names(); DESCRIPTION
The "Locale::Codes::LangVar" module provides access to standard codes used for identifying language variations, such as those as defined in the IANA language registry. Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default IANA language registry codes will be used. SUPPORTED CODE SETS
There are several different code sets you can use for identifying language variations. A code set may be specified using either a name, or a constant that is automatically exported by this module. For example, the two are equivalent: $lvar = code2langvar('en','alpha-2'); $lvar = code2langvar('en',LOCALE_CODE_ALPHA_2); The codesets currently supported are: alpha This is the set of alphanumeric codes from the IANA language registry, such as 'arevela' for Eastern Armenian. This code set is identified with the symbol "LOCALE_LANGVAR_ALPHA". This is the default code set. ROUTINES
code2langvar ( CODE [,CODESET] ) langvar2code ( NAME [,CODESET] ) langvar_code2code ( CODE ,CODESET ,CODESET2 ) all_langvar_codes ( [CODESET] ) all_langvar_names ( [CODESET] ) Locale::Codes::LangVar::rename_langvar ( CODE ,NEW_NAME [,CODESET] ) Locale::Codes::LangVar::add_langvar ( CODE ,NAME [,CODESET] ) Locale::Codes::LangVar::delete_langvar ( CODE [,CODESET] ) Locale::Codes::LangVar::add_langvar_alias ( NAME ,NEW_NAME ) Locale::Codes::LangVar::delete_langvar_alias ( NAME ) Locale::Codes::LangVar::rename_langvar_code ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangVar::add_langvar_code_alias ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangVar::delete_langvar_code_alias ( CODE [,CODESET] ) These routines are all documented in the Locale::Codes::API man page. SEE ALSO
Locale::Codes The Locale-Codes distribution. Locale::Codes::API The list of functions supported by this module. http://www.iana.org/assignments/language-subtag-registry The IANA language subtag registry. AUTHOR
See Locale::Codes for full author history. Currently maintained by Sullivan Beck (sbeck@cpan.org). COPYRIGHT
Copyright (c) 2011-2012 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.2 2012-10-11 Locale::Codes::LangVar(3pm)
All times are GMT -4. The time now is 02:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy