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?
/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:/ #
vim
ornano
? I run LineageOS and can start them. – Grimoire Sep 16 '18 at 15:31vim
andnano
. https://github.com/shiftrot/droidvim/issues/19 – mariotomo Sep 16 '18 at 15:46