cut
stdin 또는 파일에서 필드를 잘라냅니다.
더 많은 정보: https://keith.github.io/xcode-man-pages/cut.1.html.
- 각 줄의 특정 문자/필드 범위 출력:
명령어 | cut -c|f 1|1,10|1-10|1-|-10
- 특정 구분자로 각 줄의 필드 범위 출력:
명령어 | cut -d "," -f 1
- 특정 파일의 각 줄에서 문자 범위 출력:
cut -c 1 경로/대상/파일
stdin 또는 파일에서 필드를 잘라냅니다.
더 많은 정보: https://keith.github.io/xcode-man-pages/cut.1.html.
명령어 | cut -c|f 1|1,10|1-10|1-|-10
명령어 | cut -d "," -f 1
cut -c 1 경로/대상/파일