반응형

우분투 공부중/Command 19

리눅스 명령어

시작&종료#shutdown -h now, halt, init 0 : 시스템 종료#shutdown -h +10m : 10분 후에 종료 (h : halt)#shutdown -r 22:00 : 오후 10시에 재가동 (r : reboot)#shutdown -c : 진행중인 shutdown 취소 (c : cancel)#shutdown -k now : 현재 접속된 사용자에게 종료된다는 메시지만 보내고, 실제 종료하지 않음. init : 런레벨(Runlevel) 시스템이 가동되는 방법 0번 : 종료 모드1번 : 단일 사용자 모드 (시스템 복구 시에 사용)2번 : 사용 안함3번 : 다중 사용자 모드 (텍스트 로그인)4번 : 사용 안함5번 : 다중 사용자 모드 (X 윈도우 로그인) 6번 : 재가동 모드 (재부팅)컴퓨터 ..

vim 설치 & 설정

우분투에는 기본적으로 vim-tiny가 설치되어있다. 그럼으로 제거한다. apt-get remove vim-tiny 그 후 vim을 설치한다. apt-get install vim 설치 후에 개인설정을 해주는것이 좋다. sudo vi /etc/vim/vimrc 내용 수정 or 편집. " All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by " the call to :runtime you can find below. If you wish to change any of those " settings, you should do it in this file (/etc/vim/vimrc), since debian.vim " will be..