通配符“*”表示它将匹配任意数量的字符或一组字符。
test*
与 test.rst
匹配,有效 :
ls /tmp/material/test*
/tmp/material/test.rst
准备好要安装的手机:
#download termux.apk and install on the mobile phone first,
#then do the following in termux console
pkg install openssh
whoami
uo_a313
ifconfig
192.168.31.130
pkg install termux-auth
passed #set password
sshd #start ssh server in the mobile phone
termux-setup-storage
现在我可以安装手机了:
sudo sshfs -p 8022 [email protected]://data/data/com.termux/files/home/storage/downloads/WeiXin /mnt/material
sudo ls /mnt/material
test.rst
sudo ls /mnt/material/test*
ls: cannot access '/mnt/material/test*': No such file or directory
使用 sshfs 挂载移动 pjone 时,如何使
*
照常匹配任意数量的字符?