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

 
(사용자 2명의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{다른뜻|윈도우 column}}
{{다른뜻|컬럼}}
==개요==
==개요==
;리눅스 column
;리눅스 column
;/usr/bin/column
;/usr/bin/column
*목록의 컬럼을 맞추는 리눅스 명령어
*목록의 컬럼을 맞추는 리눅스 명령어
<source lang='cli'>
* 우분투 패키지 bsdmainutils
[root@zetawiki ~]# echo "a b c\n123 456 789"
 
a b c\n123 456 789
<syntaxhighlight lang='console'>
</source>
<source lang='cli'>
[root@zetawiki ~]# echo -e "a b c\n123 456 789"
[root@zetawiki ~]# echo -e "a b c\n123 456 789"
a b c
a b c
123 456 789
123 456 789
</source>
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# echo -e "a b c\n123 456 789" | column -t
a    b    c
123  456  789
</syntaxhighlight>
 
<syntaxhighlight lang='console'>
testuser@localhost:~$ cat /etc/os-release | head -1
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
testuser@localhost:~$ column -V
column from util-linux 2.36.1
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[colrm]]
*[[리눅스 colrm]]
*[[paste]]
*[[리눅스 paste]]
*[[sort]]
*[[리눅스 sort]]
*[[ls]]
*[[리눅스 ls]]


[[분류: /usr/bin]]
[[분류: /usr/bin]]
[[분류: util-linux]]
[[분류: util-linux]]
[[분류: bsdmainutils]]

2022년 11월 21일 (월) 13:54 기준 최신판

  다른 뜻에 대해서는 컬럼 문서를 참조하십시오.

1 개요[ | ]

리눅스 column
/usr/bin/column
  • 목록의 컬럼을 맞추는 리눅스 명령어
  • 우분투 패키지 bsdmainutils
[root@zetawiki ~]# echo -e "a b c\n123 456 789"
a b c
123 456 789
[root@zetawiki ~]# echo -e "a b c\n123 456 789" | column -t
a    b    c
123  456  789
testuser@localhost:~$ cat /etc/os-release | head -1
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
testuser@localhost:~$ column -V
column from util-linux 2.36.1

2 같이 보기[ | ]

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