Monday, February 7, 2011

Re: [android-developers] android os debug terminal open text file

cat

as in:

$cd /sdcard/directory/name
$cat file_name.txt

You can also pull it to the host computer with:

C:\> adb pull /sdcard/directory/name/file_name.txt

and then use your favorite text editor to look at it.

BTW, whenever you type a command into adb shell and get "Permission
denied", it really means "Command does not exist".

-- Kostya

07.02.2011 8:13, jeremygwa пишет:
> hi,
>
> in this android os developer tools, on the emulator, how do i read the
> contents of a text file on the sdcard, from the terminal command line.
>
> i have tried: pico textfile.txt
> type textfile.txt
> sudo pico textfile.txt
> - permission denied
>


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment