Fixed parsing for cmd &> file
Added warnings for sudo cmd > file