안드로이드 쉘 접속

Jmnote bot (토론 | 기여)님의 2016년 3월 29일 (화) 14:07 판 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
adb shell
안드로이드 ADB 쉘 접속

1 개요[ | ]

  • ADB를 통해 간단히 안드로이드 기기의 쉘에 접속할 수 있다.
  • adb devices에서 온라인으로 보이는 것만 접속 가능.
  • 안드로이드도 리눅스 기반이라는 것을 확인할 수 있다.
  • 로그인 과정이 없다. 접속하면 가상기기는 root 권한, 실제기기는 shell 권한을 가진다.

2 실습[ | ]

D:\adt-bundle\sdk\platform-tools>adb shell
root@android:/ # df
Filesystem             Size   Used   Free   Blksize
/dev                   168M    32K   168M   4096
/mnt/secure            168M     0K   168M   4096
/mnt/asec              168M     0K   168M   4096
/mnt/obb               168M     0K   168M   4096
/system                197M   197M     0K   4096
/data                  194M     9M   184M   4096
/cache                  64M     1M    62M   4096
root@android:/ # exit

D:\adt-bundle\sdk\platform-tools>

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}