Search Results

Search: Posts Made By: snurani
3,936
Posted By snurani
Adding custom mesg. when redirecting "exec 2>stderr.err" ?
Doubt regarding using "exec" command to redirect the STDERR to a file. e.g I did it this way.

mystage.sh

#!/bin/sh exec 2>stage.err
....

....

cat stage.err
mv: cannot...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy