[clug] Text editor

Bryan Kilgallin bryan at netspeed.com.au
Sun Oct 26 06:43:02 MDT 2014


I listed the phone's bin directory in long format. This refers to 
busybox. But busybox was not a directory (bin had no subdirectories). So 
I couldn't open it. Whereas more on busybox gave gibberish.

lrwxrwxrwx    1 root     root           14 Jan  1  1970 addgroup -> 
/bin/tinylogin
lrwxrwxrwx    1 root     root           14 Jan  1  1970 adduser -> 
/bin/tinylogin
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ash -> busybox
-rwxr-xr-x    1 root     root       659032 Jan  1  1970 bash
-r-xr-xr-x    1 root     root         7474 Jan  1  1970 bashbug
-rwxr-xr-x    1 root     root       487148 Jan  1  1970 busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 cat -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 chattr -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 chgrp -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 chmod -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 chown -> busybox
-rwxr-xr-x    1 root     root        11000 Jan  1  1970 ciptool
lrwxrwxrwx    1 root     root            7 Jan  1  1970 cp -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 cpio -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 date -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 dd -> busybox
lrwxrwxrwx    1 root     root           14 Jan  1  1970 delgroup -> 
/bin/tinylogin
lrwxrwxrwx    1 root     root           14 Jan  1  1970 deluser -> 
/bin/tinylogin
lrwxrwxrwx    1 root     root            7 Jan  1  1970 df -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 dmesg -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 dumpkmap -> busybox
-rwxr-xr-x    1 root     root        20376 Jan  1  1970 dund
lrwxrwxrwx    1 root     root            7 Jan  1  1970 echo -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 egrep -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 false -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 fgrep -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 grep -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 gunzip -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 gzip -> busybox
-rwxr-xr-x    1 root     root        40952 Jan  1  1970 hcitool
-rwxr-xr-x    1 root     root        31192 Jan  1  1970 hidd
lrwxrwxrwx    1 root     root            7 Jan  1  1970 hostname -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ip -> busybox
lrwxrwxrwx    1 root     root           11 Jan  1  1970 kill -> kill.procps
-r-xr-xr-x    1 root     root        14540 Jan  1  1970 kill.procps
-rwxr-xr-x    1 root     root        10892 Jan  1  1970 l2ping
-rwxr-xr-x    1 root     root        20128 Jan  1  1970 l2test
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ln -> busybox
lrwxrwxrwx    1 root     root           14 Jan  1  1970 login -> 
/bin/tinylogin
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ls -> busybox
lrwxrwxrwx    1 root     root           13 Jan  1  1970 lsmod -> 
/bin/lsmod.26
-rwxr-xr-x    1 root     root         5344 Jan  1  1970 lsmod.26
lrwxrwxrwx    1 root     root            7 Jan  1  1970 mkdir -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 mknod -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 mktemp -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 more -> busybox
lrwxrwxrwx    1 root     root           16 Jan  1  1970 mount -> 
mount.util-linux
-rwsr-xr-x    1 root     root        60112 Jan  1  1970 mount.util-linux
-rwxr-xr-x    1 root     root         4496 Jan  1  1970 mountpoint
lrwxrwxrwx    1 root     root            7 Jan  1  1970 mv -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 netstat -> busybox
-rwxr-xr-x    1 root     root        20148 Jan  1  1970 pand
-rwxr-xr-x    1 root     root         9536 Jan  1  1970 passkey-agent
lrwxrwxrwx    1 root     root           14 Jan  1  1970 pidof -> 
pidof.sysvinit
lrwxrwxrwx    1 root     root           16 Jan  1  1970 pidof.sysvinit 
-> ../sbin/killall5
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ping -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 ping6 -> busybox
lrwxrwxrwx    1 root     root            9 Jan  1  1970 ps -> ps.procps
-r-xr-xr-x    1 root     root        96304 Jan  1  1970 ps.procps
lrwxrwxrwx    1 root     root            7 Jan  1  1970 pwd -> busybox
-rwxr-xr-x    1 root     root        15628 Jan  1  1970 rctest
-rwxr-xr-x    1 root     root        27308 Jan  1  1970 rfcomm
lrwxrwxrwx    1 root     root            7 Jan  1  1970 rm -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 rmdir -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 run-parts -> busybox
-rwxr-xr-x    1 root     root        59536 Jan  1  1970 sdptool
lrwxrwxrwx    1 root     root            7 Jan  1  1970 sed -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 sh -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 sleep -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 stty -> busybox
lrwxrwxrwx    1 root     root           14 Jan  1  1970 su -> /bin/tinylogin
lrwxrwxrwx    1 root     root            7 Jan  1  1970 sync -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 tar -> busybox
-rwsr-xr-x    1 root     root        39444 Jan  1  1970 tinylogin
lrwxrwxrwx    1 root     root            7 Jan  1  1970 touch -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 true -> busybox
lrwxrwxrwx    1 root     root           17 Jan  1  1970 umount -> 
umount.util-linux
-rwsr-xr-x    1 root     root        30880 Jan  1  1970 umount.util-linux
lrwxrwxrwx    1 root     root            7 Jan  1  1970 uname -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 usleep -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 vi -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 watch -> busybox
lrwxrwxrwx    1 root     root            7 Jan  1  1970 zcat -> busybox


On 26/10/14 21:52, Scott Ferguson wrote:
> On 26/10/14 22:44, Bryan Kilgallin wrote:
>> I networked my OpenMoko FreeRunner phone to my desktop computer.
>> Following is the output of ls in the phone's bin directory. And vi is
>> included.
> Actually, though not immediately obvious - it's "probably" available
> twice. (a standard busybox includes vi).
> <snipped>
>
> Kind regards
>

-- 
www.netspeed.com.au/bryan/



More information about the linux mailing list