반응형 자주사용 명령어1 [CentOS7] 자주 사용 명령어 * 열린 포트 확인 netstat -tnlp netstat -tnlp | grep -v 127.0.0.1 | sed 's/:::/0 /g' | sed 's/[:\/]/ /g' | awk '{print $5"\t"$10}' | sort -ug * 설치가 안되어 있을 경우 yum -y install net-tools * 이것이 있어야 netstat, route 등등 가능하다. * 시간 확인 date * 시간 동기화가 되어있지 않다면 * https://hhseong.tistory.com/118 * 파일 및 디렉터리 찾기 find . -name '이름' * recipes4dev.tistory.com/156 * 명령어 실행 위치 확인 type lsof * 로그 확인 tail -n 100 -f catalina.ou.. 운영체제 이야기/Linux(CentOS) 2019. 7. 14. 이전 1 다음 💲 추천 글 반응형