전체 글

    [1028 linux] 리눅스 기본명령어

    시스템 버전 확인 버전확인 $uname -a OS확인 cat /etc/issue cat /etc/redhat-release cat /etc/*release* https://ongal.tistory.com/190 물리 CPU 갯수 확인 grep "physical id" /proc/cpuinfo | sort -u | wc -l CPU당 물리 코어 수 확인 grep "cpu cores" /proc/cpuinfo | tail -1 논리 코어수 확인 grep -c processor /proc/cpuinfo 라우팅 라우팅 여부 확인 $cd /sbin $route -n 기본 게이트 웨이 추가. $cd /sbin $route add default gw 아이피 dev eth0 top shift + p : CPU 사용률 ..

    [1028 운영] 운영 정보 모음

    1. user-agent developers.whatismybrowser.com/useragents/parse/ 2. JBoss 버전 마다 필수 스팩 access.redhat.com/articles/113373 3.아파치 에러코드 더보기 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 425 426 500 501 502 503 504 505 506 507 508 509 510 아파치 스톱 실행하면. 사용하지 못하는 에러코드를 심텍스에러로 알려줌. 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 4..

    [1028 shell script] 작성해본 기능 정리

    www.shellscript.sh/ 1. 쉘스크립트 상단 #! /bin/bash 2. 변수선언은 붙여서 var="No Pain" 3. 모니터 출력 echo "###START###" 4. for문 for entry in /home/sysoper/* do echo "$entry" done 5. if 문 & 일부문자 같음 if [[ "$entry" == *"a"* ]]; then echo "a " elif [[ "$entry" == *"b"* ]]; then echo "b " fi 6. 파일경로 변수 저장 dir_temp="/home/sysoper/temp" export path=$dir_temp"/dir" 7. 명령어 실행결과 저장 days="$(find $path -type f -printf x | wc ..

    [1028 코딩] 코딩팁 모음

    DRY WET KISS YAGNI DRY Don't Repeat Yourself WET Write Everything Twice KISS Keep It Simple, Stupid: SImplicity should be a key goal by kelly johnson - Code, Function Class, View, Service, System

    반응형