两个slackware 14.2系统,ssh是7.9p1。
在本地系统上
mkdir -p -v "I want to create long dir name with spaces"
mkdir: directory 'I want to create long dir name with spaces' created
并且可以
在远程
ssh remote mkdir -p -v "I want to create long dir name with spaces"
mkdir: created directory 'I'
mkdir: created directory 'want'
mkdir: created directory 'to'
mkdir: created directory 'create'
mkdir: created directory 'long'
mkdir: created directory 'dir'
mkdir: created directory 'name'
mkdir: created directory 'with'
mkdir: created directory 'spaces'
为什么?
我尝试使用 ' 而不是 " 和
ssh remote mkdir -p -v 'I want to create long dir name with spaces'
以 0(成功)退出但未创建目录
找到解决方案
我不明白为什么在遥控器上是不同的,我必须用
\
.