Curl 打开是因为卷曲

Curl 打开是因为卷曲,curl,libcurl,Curl,Libcurl,我在命令行中对url进行了卷曲 curl http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp 我得到了这样的回应 [1] 8742 [1]+ Done curl http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp 然后我再次点击回车键,得到了这个响应 [1] 8742 [1]+ Done curl http:/

我在命令行中对url进行了卷曲

curl http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp
我得到了这样的回应

[1] 8742
[1]+  Done   curl http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp
然后我再次点击回车键,得到了这个响应

[1] 8742
[1]+  Done   curl http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp

在我的终端中是否有打开该文件的方法?

您需要告诉curl使用-L执行重定向

curl  -L "http://www.nytimes.com/2011/04/30/world/middleeast/30policy.html?hp"