updating error log script

This commit is contained in:
Mariotaku Lee 2017-03-04 22:00:57 +08:00
parent f94719ad1b
commit 1f3d83442b
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
echo "Current working dir is $(pwd)"
ls
for log_file in hs_err_*.log; do for log_file in hs_err_*.log; do
echo "Error log ${log_file}:" echo "Error log ${log_file}:"
cat ${log_file} cat ${log_file}