If I do this:
ls 1>/dev/null
then as expected there is no output to the screen because it's been redirected to /dev/null
However, if I do this ls 1>/dev/null | less
I see the file listing of the current directory. How?!?
Asked by Ben
(327 rep)
Jan 8, 2025, 04:37 PM
Last activity: Jan 8, 2025, 04:51 PM
Last activity: Jan 8, 2025, 04:51 PM