Cut: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "== Overview == cut 명령어 내용 정리.  category:command/utility")  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
== Overview ==  | == Overview ==  | ||
cut 명령어 내용 정리.  | cut 명령어 내용 정리.  | ||
== Options ==  | |||
=== -d, --delimiter=DELIM ===  | |||
구분자(Delimiter)를 지정한다.  | |||
<source lang=bash>  | |||
$ ls | sort | cut -d'.' -f1 | uniq  | |||
alternatives  | |||
apport  | |||
apt  | |||
...  | |||
</source>  | |||
=== -f, --fields=LIST ===  | |||
지정된 필드만을 표시한다.  | |||
=== -c, --characters=LIST ===  | |||
지정된 캐릭터 갯수만을 표시한다.  | |||
== References ==  | |||
<references />  | |||
[[category:command/utility]]  | [[category:command/utility]]  | ||
Latest revision as of 14:25, 25 July 2016
Overview
cut 명령어 내용 정리.
Options
-d, --delimiter=DELIM
구분자(Delimiter)를 지정한다. <source lang=bash> $ ls | sort | cut -d'.' -f1 | uniq alternatives apport apt ... </source>
-f, --fields=LIST
지정된 필드만을 표시한다.
-c, --characters=LIST
지정된 캐릭터 갯수만을 표시한다.
References
<references />