You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- #打开日志
-
- cd `dirname $0`/..
- export BASE_DIR=`pwd`
- echo $BASE_DIR
-
- # check the nohup.out log output file
- if [ ! -f "${BASE_DIR}/nohup.out" ]; then
- echo "No file ${BASE_DIR}/nohup.out"
- exit -1;
- fi
-
- tail -f "${BASE_DIR}/nohup.out"
|