*/DISTRIB_DESCRIPTION=Linux Lite 2.4/g" /etc/lsb-release && echo "Linux Lite 2.4" | sudo tee /etc/llver&& echo "Linux Lite 2.2 LTS \n \l" | sudo tee /etc/is
以下代码在BSD/OS X(输出中为“12”)上工作正常,但在Linux (输出为空)上不起作用:head -c2 test | tee test >/dev/null将head | tee部件更改为在子subshell中运行(head -c2 test | tee test >/dev/null)
让它在Linux上也能工作。