Hi guys,
I just wanna know the difference between these 3 pls :
echo >&2 "program is running"
echo "program is running" >&2
and normal echo :
echo "program is running"
what the >&2 exactly means ? I read that to put to standard error output.
But can anyone can explain exactly how it works ? and how do I check it.
Thanks guys
I just wanna know the difference between these 3 pls :
echo >&2 "program is running"
echo "program is running" >&2
and normal echo :
echo "program is running"
what the >&2 exactly means ? I read that to put to standard error output.
But can anyone can explain exactly how it works ? and how do I check it.
Thanks guys