看下面你就學會了,不知道網上那些傻逼為什么搞什么別名,直接調用不就好了?
dls@DESKTOP-XPS13:~$ ls /mnt/c/PhoenixSuitV1.1/adb.exe
/mnt/c/PhoenixSuitV1.1/adb.exe
dls@DESKTOP-XPS13:~$ /mnt/c/PhoenixSuitV1.1/adb.exe shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
BusyBox v1.27.2 () built-in shell (ash)
------run profile file-----
__ ___ _ __ _
/ |/ /__ _(_)_ __ / / (_)__ __ ____ __
/ /|_/ / _ `/ /\ \ / / /__/ / _ \/ // /\ \ /
/_/ /_/\_,_/_//_\_\ /____/_/_//_/\_,_//_\_\
----------------------------------------------
root@sipeed:/#
攤手~
你要是實在手癢要別名也可以,放到 ~/.bashrc
底下寫一行 alias adb='/mnt/c/PhoenixSuitV1.1/adb.exe'
。
其他同理。