ps 썸네일형 리스트형 ps kill 명령어 ps kill 명령어httpd 프로세스를 찾아 강제 종료ps ax | grep -v grep | grep httpd | awk '{print $1}' | sort -u | xargs kill -9pkill 명령어pkill -9 -f httpd 더보기 [shell] bash colors bash colors 스크립트 편집 vim z.sh $ vim z.sh #!/bin/bash color_reset=$(tput sgr0) color_red=$(tput setaf 1) color_blue=$(tput setaf 4) echo "${color_red}sangchul.kr${color_reset}" echo "${color_blue}sangchul.kr${color_reset}" 스크립트 실행 결과 sh z.sh tput 명령어 사용 echo "블로거 `tput setaf 1`sangchul.kr`tput sgr0`." bash 프로파일에 등록하여 컬러 사용하기 vim .bashrc $ vim .bashrc RED="\033[0;31m" PINK="\033[1;31m" YELLOW="\033.. 더보기 [url] Easy Bash PS1 Generator Easy Bash PS1 Generator http://ezprompt.net export PS1="\[\e[31m\]\u\[\e[m\]\[\e[37m\]@\[\e[m\]\[\e[33m\]\h\[\e[m\]:\[\033[01;36m\]\W\[\e[m\]$ " 더보기 이전 1 다음