[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash-Frage: Rückgabecode auswerten



On Fri, 16 Aug 2013 15:11:02 +0200
Andre Tann <atann@alphasrv.net> wrote:

> So gehts auch nicht:
> 
> SomeCommand 2>&1 || echo Error >> errorfile | tee -a logfile
> 

( SomeCommand 2>&1 || echo Error >> errorfile ) | tee -a logfile


Reply to: