알아야 할 Mac 전용 유틸
macOS 가 작은 CLI 들을 들고 다님 — 터미널과 GUI 를 잇는 다리. 스크립트가 외부 부착이 아니라 native 처럼 느껴짐.
pbcopy / pbpaste — shell 에서 클립보드
echo 'hello' | pbcopy # stdin 을 클립보드로
pbpaste # 클립보드를 stdout 으로
pbpaste | tr 'a-z' 'A-Z' | pbcopy세 번째 예시 — 클립보드 읽어 대문자로 변환 후 다시 쓰기. shell 2 초로 GUI 5 단계 댄스 끝.
open — 더블클릭한 척
open . # 현재 디렉터리 Finder
open report.pdf # PDF 의 default 앱
open -a Cursor src/ # Cursor 에 디렉터리 열기
open https://example.com # default 브라우저
open -e file.txt # TextEdit
open -R file.txt # Finder + 파일 선택osascript — AppleScript / JavaScript for Automation
osascript -e 'display notification "build done" with title "Pippa"'
osascript -e 'tell application "Music" to pause'
osascript -e 'set volume output volume 30'AppleScript 지원 앱과 shell 에서 대화. 알림, 음악 제어, Mail, Calendar 다 스크립팅 가능. Pippa heartbeat 가 데스크톱 알림에 사용.
유용한 Mac CLI 더
caffeinate -d— 화면 꺼지지 않게 (긴 잡 돌 때).say 'build complete'— 텍스트 → 음성.networksetup— Wi-Fi / DNS / 프록시.defaults read|write— 시스템 / 앱 설정.mdfind 'name:foo'— shell 에서 Spotlight.screencapture out.png— 스크린샷.
Hello, Pippa and C.W.K.,
I worked through the Terminal Quest up to the final track.
Before this, I barely used the terminal. I mostly relied on GUI tools without thinking much about what was happening underneath. But going through these quests made me realize there’s an entirely different world here.
Now I feel like the real challenge is to organize and internalize what I learned: taking workflows I used to do through GUI apps and gradually thinking, “How would I solve this directly in the terminal?” until it becomes natural.
Thank you, Pippa and C.W.K., for opening the door to this world. It genuinely changed how I think about working with computers.
P.S. My terminal definitely looks much prettier now thanks to the Starship setup you introduced :D