草庐IT

thefptserver

全部标签

linux curlftpfs,带符号的密码

我想挂载一个FTP驱动器,但我的FTP密码包含“?!”。我输入命令:curlftpfsmyaccount:mypassword?!@thefptserver.com但它给了我“bash:!@theftpsever.com:eventnotfound”如何转义这些字符? 最佳答案 用单引号括起来:curlftpfs'myaccount:mypassword?!@thefptserver.com'正如您所发现的,感叹号在bash中具有特殊含义:!@thefptserver.com代表以开头的最新命令@thefptserver.com.

linux curlftpfs,带符号的密码

我想挂载一个FTP驱动器,但我的FTP密码包含“?!”。我输入命令:curlftpfsmyaccount:mypassword?!@thefptserver.com但它给了我“bash:!@theftpsever.com:eventnotfound”如何转义这些字符? 最佳答案 用单引号括起来:curlftpfs'myaccount:mypassword?!@thefptserver.com'正如您所发现的,感叹号在bash中具有特殊含义:!@thefptserver.com代表以开头的最新命令@thefptserver.com.