Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用此命令下载 html 文件:
wget -r --page-requisites dowload.html https://www.mysite.com/docs//#!Mydocs;location=page1
这给了我下一个错误:
-bash: !MyDocs: event not found
如何使用 wget 获取包含 # 的地址?
用单引号将 URL 括起来。这会阻止 shell 解析内容。
wget -r --page-requisites 'dowload.html https://www.mysite.com/docs//#!Mydocs;location=page1'