3 ms·2>&1 should go after the redirection if you want stderr to appear in the fileby d0mine 5y ago2>&1 should go after the redirection if you want stderr to appear in the file