
맥 터미널 테마 바꾸기(iTerm2+zsh)iTerm2 설치iTerm2는 customizing이 용이한 터미널이다. 아래 링크에 들어가서 stable 버전을 다운받는다.Downloads - iTerm2 - Mac OS Terminal ReplacementiTerm2 is a replacement for Terminal and the successor to iTermhttps://www.iterm2.com/downloads.html oh-my-zsh 설치터미널에서 아래 명령어를 입력하여 oh-my-zsh를 설치한다.sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" zsh 선..
쉘 스크립트란?쉘을 사용해서 리눅스, MacOS 환경에서 기초적인 프로그래밍을 할 수 있음다양한 자동화 작업을 위해 기본적으로 익혀두면 좋음사용 방법스크립트 파일 생성.sh 파일로 생성쉘 스크립트는 파일로 작성 후, 파일을 실행하는 방식실행 권한을 가지고 있어야 함(아래 참고)# 파일 생성 $ vi script.sh내용 작성가장 첫 줄은 #!/bin/bash로 시작원하는 script 내용 작성#!/bin/bash # 원하는 스크립트 내용 echo "hello" mkdir aaa실행 권한 설정+x 옵션(execute)으로 실행 권한 변경$ chmod +x script.sh실행그냥 파일명으로 실행할 수 있음$ ./script.sh "hello"본 게시물은 Notion에서 작성되어 자동으로 업로드 되었습니다.
- Total
- Today
- Yesterday