在终端中cd 路径遇到空格后会出现 string not in pwd 解决办法: 1.cd "/app/路径A 路径B/"。用""把路径包起来 2.cd /app/路径A\ 路径B/。 在空格前面加\转义