Standard error dev null




















Indrajeet Gour Indrajeet Gour 2 2 silver badges 5 5 bronze badges. RtmY 1 1 silver badge 7 7 bronze badges. Mauro Zallocco Mauro Zallocco 91 1 1 silver badge 1 1 bronze badge. Concise and on-topic. Good answer. So in your question it means Run the command and do not show me the error messages , discard them. It was very useful to have the meanings of different descriptors to get some more context and saved me an additional Google search.

The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related Hot Network Questions. Don't subscribe All Replies to my comments Notify me of followup comments via e-mail.

You can also subscribe without commenting. If you have any questions or comments, let us know in the comments below! Got something to say? Join the discussion. Note : The '-v' argument to mv displays the success log when a file is moved.

Hence, the data is ultimately discarded. The integer '2' stands for standard error. Hence, in the last screenshot, we do not see any output printed on the screen at all. The same can be used in either command or in complex Bash scripts which generate a heavy amount of log. In case if the script needs debugging, or has to be tested; in such cases, the log is required to view and analyze the errors properly.



0コメント

  • 1000 / 1000