본문 바로가기

Command Line Interface

(3)
iTerm2로 터미널 예쁘게 바꾸기 1. iTerm 설치 https://www.iterm2.com/downloads.html 2. iTerm color 설정을 다운 받고 연다. https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors 3. iTerm → preferences → profiles → colors → load presets에서 Solarized Dark로 바꾼다. 4. 다음을 입력한다. sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"..
윈도우에서 리눅스 Command Line 쓸 수 있게 해주는 프로그램 Git for Windows Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA gitforwindows.org 위 링크에서 다운 받은 뒤에 설치 중에 Command Line에서 파일을 열었을 때 기본적으로 사용할 코드 에디터만 설정해주고 무난하게 설치하자.
리눅스 명령어 ls : 디렉토리의 파일을 보여준다. ls -al : 디렉토리의 파일을 자세한 정보와 함께 보여준다. cd : 디렉토리로 이동한다. pwd : 현재 디렉토리의 주소를 보여준다. ~ : 홈 디렉토리를 지칭한다. cd ~ / : 시스템의 최상위 디렉토리를 지칭한다. . : 현재 디렉토리를 지칭한다. .. : 상위 디렉토리를 지칭한다. touch : 파일을 생성한다. touch newfile.txt mv : 파일을 이동시킨다. mv newfile.txt newdir/ mv : 파일 이름을 바꾼다. mv newfile.txt newname.txt cat : 텍스트 형태의 파일을 확인한다. cat newfile.txt cp : 파일을 복사한다. cp newfile.txt ~/Downloads/ rm : 파일을 삭..