Well, you can't edit the file, then.

On Sun, Apr 24, 2011 at 1:14 PM, David Williams <
[email protected]> wrote:

>  Thanks,
>
> That is what I tried, but I wanted to edit the /etc/hosts file and when I
> tried the push I was told that the file system was read only, so I couldn't
> push the file.
>  ------------------------------
>
> David Williams
> Check out our WebOS mobile phone app for the Palm Pre and Pixi:
>  <http://www.dtw-consulting.com/GolfCaddie>   Golf 
> Caddie<http://www.dtw-consulting.com/GolfCaddie>| Golf
> Caddie Forum <http://www.dtw-consulting.com/GolfCaddie/forum> | Golf
> Caddie FAQ <http://www.dtw-consulting.com/GolfCaddie/faq.html> by
> DTW-Consulting, Inc.
>
>
>
> On 4/24/2011 12:08 PM, Moose wrote:
>
> If I ever need to edit a file, I use the terminal commands
>
> $ adb pull /path/to/file .
> *edit the file as you need to to*
> $ adb push file /path/to/file
>
>  I know there is also a way you can edit a file by using 'cat' in the
> android shell, but I prefer to edit a dynamic file and replace it.
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.0 Programming Books: http://commonsware.com/books

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

Reply via email to