Does " - " mean stdout in bash? -


Is there a shortcut to statat? If not, what does that mean? For example,

  wget -q-o - $ line  

How about stdin?

Thanks and connection!

As far as I know, included with the use of bash dash It is a conference of several Unix command line utilities that accept - as a placeholder for stdin or stdout / Hr /> Edit : On the command line, it is found that this behavior is contained in the OpenGroup Base Specifications Specified:

For operators who represent operators, files to be opened to read or write, '-' processing should be used only for standard input (or standard output) when From the context it is clear that the output file is being specified).

Comments