tail -f usr/local/tomcat5/logscatalina.out 用这条命令你就能实时看tomcat的日志,ctrl+c就退出查看了,建议你搜索一本免费的书《linux就该这么学》,系统的学习一下。