[root@localhost httpd]# pwd
/var/log/httpd
이 쪽으로 들어가면 거의 error_log가 확인이 가능 하다
안되면 find / -name error_log 직접 경로를 찾아서 들어가면 된다
[root@localhost httpd]# tail -f error_log
경로를 찾았으면 tail을 써서 확인 해보자 그냥 tail error_log 하면 실시간 로그를 볼수 있는게 아니고
끝에서 10개 까지를 볼수 있기 때문에
실시간 error을 봐야 하기 때문에 -f 붙여주면 실시간으로 확인이 가능하다
[Linux]linux 사용자 추가,삭제 그룹 생성,삭제,관리 (0) | 2022.02.16 |
---|---|
[Liunx] This virtual machine appears to be in use. (0) | 2021.11.15 |
[Liunx] vi 편집기 기본 명령어 (0) | 2021.10.13 |
[Liunx] linux 기초 (0) | 2021.08.10 |
[Liunx] linux 로그 파일 (0) | 2021.08.05 |
댓글 영역