curl用法总结

1.查看网页源码$curl[URL]//eg:curlibit.tech如果需要将网页保存下来,可以通过-o参数,这个相当于使用wget命令。$curl-o[文件名][URL]//eg:curl-oibit-tech.htmlibit.tech2.自动跳转使用-L自动跳转到新的网址$curl-L[URL]//eg:curl-Lhttp://ibit.tech,会自动跳转到https://ibit.
linux curl 2017年12月26日 941次浏览