P
ping83416
Guest
I can easily understand the statements like
1) bzip2 --version >/tmp/list_right 2>/tmp/list_error
2) bzip2 --version >/tmp/list 2>&1
But I really don't understand the statement below. Please help.
bzip2 --version 2>&1 < /dev/null | head -n1
1) bzip2 --version >/tmp/list_right 2>/tmp/list_error
2) bzip2 --version >/tmp/list 2>&1
But I really don't understand the statement below. Please help.
bzip2 --version 2>&1 < /dev/null | head -n1