pwd:查看根目录:
ls :列出当前目录下的所有文件
cd.. :返回上级目录
shutdown .sh:关闭当前目录下以.shutdown结尾的程序。
ps -ef|grep tomcat:列出包含tomcat的所有进程。
startup.sh:启动程序。
grep content file :过滤包含content的file文件。
tail -100f localhost.2012-09-18.log:查看日志内容
ctrl +c :退出读取状态