System Management
-
리눅스의 dd 명령어를 사용하여 1G 디스크 블록으로 100G 파일 생성 명령어 예제 dd if=/dev/zero of=100G bs=1G count=100
리눅스 dd 명령어 이용한 dumy 파일 생성하기리눅스의 dd 명령어를 사용하여 1G 디스크 블록으로 100G 파일 생성 명령어 예제 dd if=/dev/zero of=100G bs=1G count=100
2017.02.13 -
1). 리눅스 좀비 프로세스 확인 명령어 예제-1) ps aux | awk '{print $8" " $2}' |grep -w Z 명령어 예제-2) top -b -n 1 | grep zombie 2). 좀비 프로세스 삭제 명령어 예제 ps -ef | grep defunct | awk '{print $3}' | xargs kill -9
리눅스 좀비 프로세스 확인 및 삭제 명령어1). 리눅스 좀비 프로세스 확인 명령어 예제-1) ps aux | awk '{print $8" " $2}' |grep -w Z 명령어 예제-2) top -b -n 1 | grep zombie 2). 좀비 프로세스 삭제 명령어 예제 ps -ef | grep defunct | awk '{print $3}' | xargs kill -9
2017.01.23 -
명령어 예제 echo wc -c $file_path | awk '{print $1}' 코드 예제 maxim_size=4000 while IFS='' read -r line || [[ -n "$line" ]]; do file_path=/workspace/yoruba/all/$line size=$(du -m "$file_path" | cut -f 1) if [ $size -ge $maxim_size ]; then echo over szie > maxim_size else echo under szie < maxim_size fi
bash shell 파일 크기 확인명령어 예제 echo wc -c $file_path | awk '{print $1}' 코드 예제 maxim_size=4000 while IFS='' read -r line || [[ -n "$line" ]]; do file_path=/workspace/yoruba/all/$line size=$(du -m "$file_path" | cut -f 1) if [ $size -ge $maxim_size ]; then echo over szie > maxim_size else echo under szie < maxim_size fi
2017.01.20 -
gsettings set com.canonical.Unity.Launcher launcher-position Bottom gsettings set com.canonical.Unity.Launcher launcher-position Left
Ubuntu 작업 표시 줄 위치 변경 명령어gsettings set com.canonical.Unity.Launcher launcher-position Bottom gsettings set com.canonical.Unity.Launcher launcher-position Left
2017.01.18 -
Sun Grid Engine 에서 실행 명령어를 연계된 컴퓨팅 노드로 분산 처리하여 실행할 수 있는 명령어는 다음과 같다. qsub -b y -N [작업 이름] "[실행 명령어]" 명령어 예제) qsub -b y -N task_name "echo hello"
Sun Grid Engine(SGE) 명령어로 작업 실행Sun Grid Engine 에서 실행 명령어를 연계된 컴퓨팅 노드로 분산 처리하여 실행할 수 있는 명령어는 다음과 같다. qsub -b y -N [작업 이름] "[실행 명령어]" 명령어 예제) qsub -b y -N task_name "echo hello"
2017.01.17 -
# 구글 크롬 설치 파일을 다운 받아 설치 전 아래의 명령어를 이용하여 필요한 라이브러리 설치 sudo apt-get install libxss1 libgconf2-4 libappindicator1 libindicator7 # 다운로드 크롬 설치 파일 설치 sudo dpkg i google~.deb
Ubuntu 리눅스 Chrome 설치 중 라이브러리 장애 처리# 구글 크롬 설치 파일을 다운 받아 설치 전 아래의 명령어를 이용하여 필요한 라이브러리 설치 sudo apt-get install libxss1 libgconf2-4 libappindicator1 libindicator7 # 다운로드 크롬 설치 파일 설치 sudo dpkg i google~.deb
2017.01.15 -
1). Ubuntu git 설치 명령어 예제 sudo apt-get install git 2). git 명령어 solarized 테마 다운로드 및 설치하기 명령어 예제 git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git cd gnome-terminal-colors-solarized install ➜ gnome-terminal-colors-solarized git:(master) ✗ ./install.sh This script will ask you which color scheme you want, and which Gnome Terminal profile to overwrite. Please note that there i..
Ubuntu 리눅스 터미널 solarized 테마 적용1). Ubuntu git 설치 명령어 예제 sudo apt-get install git 2). git 명령어 solarized 테마 다운로드 및 설치하기 명령어 예제 git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git cd gnome-terminal-colors-solarized install ➜ gnome-terminal-colors-solarized git:(master) ✗ ./install.sh This script will ask you which color scheme you want, and which Gnome Terminal profile to overwrite. Please note that there i..
2017.01.15 -
Ubuntu 에서 ZSH 설치 및 Oh My ZSH 설치를 위하여 다음과 같은 순서로 명령어 실행 1). root 초기 비밀번호 설정 명령어 예제 sudo passwd 2). apt-get 업데이트 진행 명령어 예제 sudo apt-get update 3). apt-get 을 이용한 git 설치 명령어 예제 sudo apt-get install git 4). apt-get 을 이용한 zsh 설치 명령어 예제 sudo apt-get install zsh zsh --version 5). Ubuntu 기본 shell 을 bash 에서 zsh 변경 명령어 예제 chsh -s 'which zsh' echo $SHELL 6). oh my zsh 설치 명령어 예제 curl -L https://raw.github.co..
Ubuntu 리눅스 zsh 설치 및 테마 변경Ubuntu 에서 ZSH 설치 및 Oh My ZSH 설치를 위하여 다음과 같은 순서로 명령어 실행 1). root 초기 비밀번호 설정 명령어 예제 sudo passwd 2). apt-get 업데이트 진행 명령어 예제 sudo apt-get update 3). apt-get 을 이용한 git 설치 명령어 예제 sudo apt-get install git 4). apt-get 을 이용한 zsh 설치 명령어 예제 sudo apt-get install zsh zsh --version 5). Ubuntu 기본 shell 을 bash 에서 zsh 변경 명령어 예제 chsh -s 'which zsh' echo $SHELL 6). oh my zsh 설치 명령어 예제 curl -L https://raw.github.co..
2017.01.15