Tag Archives: bash

bash redirection target gets funky

Can anybody explain me how this funky behaviour in bash works? find /root  >output 2>error 3 Yes, that’s just “error” followed by a space followed by “3”. serge@goldorak:~/tmp$ ls -l total 8 -rw-rw-r– 1 serge serge 71 Aug 30 13:57 error 3 -rw-rw-r– 1 serge serge 6 Aug 30 13:57 output serge@goldorak:~/tmp$ Lets create a file with […]