"리눅스 cut"의 두 판 사이의 차이

15번째 줄: 15번째 줄:


==같이 보기==
==같이 보기==
*[[리눅스 구분자 지정하여 문자열 분할 (cut)]]
*[[awk]]
*[[awk]]
*[[substr]]
*[[substr]]

2014년 6월 20일 (금) 15:09 판

1 개요

cut
/bin/cut
  • 문자열의 일부를 잘라내는 리눅스 명령어

2 예시: -c

[root@jmnote ~]# echo hello | cut -c 3-
llo
[root@jmnote ~]# echo hello | cut -c 3-4
ll
[root@jmnote ~]# echo hello | cut -c -4
hell

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}