Dima gave me a shell question on this afternoon, here is the solution.
1 2 $ sudo cat *.txt > /bin/a.out bash: /bin/a.out: Permission denied ** Root Cause **
This command does not work because the redirection is performed by shell which does not have the permission to write to /bin/a.out. The redirection of the output is not performed by sudo.
** Solution **
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 There are two solutions to Dima’ shell question: 1.