본문 바로가기

OS/Linux

[Linux] vi 설정 1. set -o vi2. PS1='[$(whoami)@$(hostname):$(pwd)] '3. tab 4칸.vimrc 만들어서set tabstop=4 설정해주면 됨. 더보기
[Linux] 입출력 리다이렉션 1. 입출력 리다이렉션 http://webdir.tistory.com/256 참고 더보기
[Linux] 명령어 1. if 명령어 http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html 여기 linux 명령어 다 있네. 더보기
[Linux] vi 화살표 위아래 가능하게 하기 1. root 로 가서2. apt-get install vim 해주면 됨. 더보기
[Linux] 쉘 호출에 따른 프로세스 흐름 쉘 호출 및 프로세스 흐름 현재 쉘에서 다른 쉘을 실행시키면 포크하면서 생성된 쉘에서 다른 쉘이 실행된다. 예를 들면, 1번 shell 에서 2번 쉘을 실행시키면 하나의 프로세스가 생성되고, 2번 쉘에서 3번 쉘을 실행시키면 2번이 포크되면서 3번을 생성한다. 3번이 종료될 때까지 2번은 대기 상태에 있다. 자세한 설명은 아래 참조. https://sites.google.com/site/nodevref/project-updates/swelseukeulibteumasbogi1 더보기
Linux filesystem mechnism (cp, mv) http://unix.stackexchange.com/questions/49299/what-is-linux-doing-differently-that-allows-me-to-remove-replace-files-where-win 참조 http://unix.stackexchange.com/questions/50466/how-does-cp-handle-open-files 참조 https://lists.mindrot.org/pipermail/openssh-unix-dev/2011-April/029487.html (cp 는 lock 이 안걸린다.) 요약하면 Linux 에서 파일을 지우거나 복사할 때 Lock 이 안걸린다. 그 이유는 delete 하는 과정은 Link counter를 지우고 file record에서.. 더보기
Linux Install (Ubuntu, VirtualBox) 0. VirtualBox는 VirtualBox-4.3.12-93733-Win.exe 이 버전 설치 - http://sk661208.tistory.com/entry/%EB%B2%84%EC%B8%84%EC%96%BC%EB%B0%95%EC%8A%A4-%EC%98%A4%EB%A5%98VirtualBox-Error 1. Linux 설치 - 이미지 받아오기 (ubuntu 이미지 http://releases.ubuntu.com/14.04/)- 저장소 선택할 때 SATA 가 아니라 IDE 로 잡아야 함.- http://itpangpang.xyz/81, http://itpangpang.xyz/107 (1,2 부로 설치 잘나와있음)- http://studyforus.tistory.com/222- 언어는 영어로 키보드는 한.. 더보기