I'm connecting to this Google phone via
adb
, I need to change a character inside of a text file, and I would use vi
, or maybe sed -i
, or even pico
if nothing else helps, but I don't find any well known CLI editor.
How do you Android Enthusiasts do this? I mean, short of copying the file back and forth?
@generic_x86:/ # vi
/system/bin/sh: vi: not found
127|root@generic_x86:/ # pico
/system/bin/sh: pico: not found
127|root@generic_x86:/ # nano
/system/bin/sh: nano: not found
127|root@generic_x86:/ # vim
/system/bin/sh: vim: not found
127|root@generic_x86:/ # sed
/system/bin/sh: sed: not found
127|root@generic_x86:/ # emacs
/system/bin/sh: emacs: not found
127|root@generic_x86:/ # apropos editor
/system/bin/sh: apropos: not found
127|root@generic_x86:/ #
Asked by mariotomo
(131 rep)
Sep 16, 2018, 01:24 PM
Last activity: Sep 10, 2021, 02:31 AM
Last activity: Sep 10, 2021, 02:31 AM