简体   繁体   English

什么是cURL -s选项?

[英]What is the cURL -s option?

Here's an example: 这是一个例子:

curl -s acme:acmesecret@localhost:9999/uaa/oauth/token

It looks like it is used to specify the that the URL contains the acme:acmesecret (Authentication credentials) part? 看起来它用于指定URL包含acme:acmesecret (身份验证凭据)部分吗?

Reference 参考

As Charles pointed out these types of questions are very easy to answer with explainshell . 正如查尔斯指出的,这些类型的问题很容易通过解释壳来回答。 So if you ended up here you will probably have other similar questions and explainshell is the way to go. 因此,如果您到这里结束,您可能还会遇到其他类似的问题,并且explainshell是解决之道。

It means silent. 这意味着沉默。 Here's an explainshell link . 这是一个explainshell链接 Plan on using that a lot in the future! 计划在将来大量使用它!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM