関連ワード:  bash redirect exit code to variable  
結果 : bash redirect exit code to variable