What Does echo 1>&2 mean



1 - stdout
2 - stderr

This means redirect echo's output to stderr, with a message on how to use the script,
there needs to be exactly three arguments.

All error conditions should go to stderr.


Comments

Subscribe

Search

Creative Commons License
All Techarena51.com posts Content by Leonard Gonsalves is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at http://techarena51.com.
Permissions beyond the scope of this license may be available at http://techarena51.com.