September 09, 2020
기본 커맨드라인 단축키를 알아보자.
ls : listcd : change directory
finder에서 path 끌어오는 팁!
터미널에 cd 입력한 상태로 finder에서 원하는 dir 드래그해서 터미널에 드랍하면 전체 path 자동 입력됨
cd .. : parent dir로 cdup / down arrow : browse previously used commandsclear : clear screencontrol + U : clear line (현재 타이핑 중인 라인)커서 이동 shortcuts
option + click : 원하는 곳으로 커서 이동control + A : 라인 제일 앞으로control + E : 라인 제일 뒤로디렉토리 & 파일 management
mkdir : make directorytouch : make fileopen : open file
open -a [APP NAME] : 해당 app으로 open filerm : remove filerm * : 디렉토리 안에서 사용 시 그 안의 모든 파일 삭제rm -r : remove folder & child componentsReference
https://www.learnenough.com/command-line-tutorial/basics