[问题]cat 的问题?
发表于 : 2007-12-25 21:34
1 # Cleanup
2 # 当然要使用root身份来运行这个脚本
3
4 cd /var/log
5 cat /dev/null > messages \
6 cat /dev/null > wtmp / ==================>这两段如何解释?
7 echo "Logs cleaned up."
2 # 当然要使用root身份来运行这个脚本
3
4 cd /var/log
5 cat /dev/null > messages \
6 cat /dev/null > wtmp / ==================>这两段如何解释?
7 echo "Logs cleaned up."