1 개요[ | ]
- GNU Core Utilities; coreutils
- GNU 코어 유틸리티; GNU 코어유틸; 코어유틸
- GNU 핵심 유틸리티
- 파일유틸 + 쉘유틸 + 텍스트유틸[1]
- UNIX계 OS에 필요한 cat, ls, rm 등의 기본 명령어 모음 패키지
- CentOS 6 최소 설치 패키지 목록에 포함됨
- 우분투 12, 우분투 14 기본 패키지 목록에 포함됨
2 파일 도구[ | ]
chcon |
파일 보안 컨텍스트 변경 (SELinux) |
chgrp |
파일 소유그룹 변경 |
chown |
파일 소유자 변경 |
chmod |
파일·디렉토리 퍼미션 변경 |
cp |
파일·디렉토리 복사 |
dd |
파일 복사 및 변환 |
df |
파일시스템의 디스크 유휴 용량 조회 |
dir |
Is exactly like "ls -C -b ". (Files are by default listed in columns and sorted vertically.)
|
dircolors |
ls 색상 설정
|
install |
Copies files and set attributes |
ln |
파일에 대한 링크 생성 |
ls |
디렉토리 내 파일 목록 조회 |
mkdir |
디렉토리 생성 |
mkfifo |
지명 파이프(FIFO) 생성 |
mknod |
블록 또는 character special files 생성 |
mktemp |
임시 파일(또는 폴더) 생성 |
mv |
파일 이동 또는 이름변경 |
rm |
파일 삭제 |
rmdir |
빈 디렉토리 삭제 |
shred |
Overwrites a file to hide its contents, and optionally deletes it |
sync |
파일시스템 버퍼를 비움(flush) |
touch |
파일의 타임스탬프 변경 |
truncate |
Shrink or extend the size of a file to the specified size |
vdir |
Is exactly like "ls -l -b ". (Files are by default listed in long format.)
|
3 텍스트 도구[ | ]
base64 |
데이터를 base64 인코딩/디코딩하여 표준출력에 출력 |
cat |
Concatenates and prints files on the standard output |
cksum |
Checksums and count the bytes in a file |
comm |
Compares two sorted files line by line |
csplit |
Splits a file into sections determined by context lines |
cut |
파일들의 각 행에서 일부분 제거 |
expand |
탭을 스페이스로 변환 |
fmt |
Simple optimal text formatter |
fold |
Wraps each input line to fit in specified width |
head |
파일의 첫부분 출력 |
join |
Joins lines of two files on a common field |
md5sum |
Computes and checks MD5 message digest |
nl |
Numbers lines of files |
od |
Dumps files in octal and other formats |
paste |
Merges lines of files |
ptx |
Produces a permuted index of file contents |
pr |
Converts text files for printing |
sha1sum |
SHA-1 메시지 다이제스트 계산 및 점검 |
sha224sum |
SHA-224 메시지 다이제스트 계산 및 점검 |
sha256sum |
SHA-256 메시지 다이제스트 계산 및 점검 |
sha384sum |
SHA-384 메시지 다이제스트 계산 및 점검 |
sha512sum |
SHA-512 메시지 다이제스트 계산 및 점검 |
shuf |
랜덤 순열 생성 |
sort |
sort lines of text files |
split |
Splits a file into pieces |
sum |
Checksums and counts the blocks in a file |
tac |
Concatenates and prints files in reverse |
tail |
Outputs the last part of files |
tr |
Translates or deletes characters |
tsort |
Performs a topological sort |
unexpand |
Converts spaces to tabs |
uniq |
Removes duplicate lines from a sorted file |
wc |
Prints the number of bytes, words, and lines in files |
4 쉘 도구[ | ]
arch |
Prints machine hardware name (same as uname -m) |
basename |
Removes the path prefix from a given pathname |
chroot |
루트 디렉토리 변경 |
date |
시스템 날짜·시간 조회·설정 |
dirname |
Strips non-directory suffix from file name |
du |
파일시스템에서 디스크 사용량 조회 |
echo |
Displays a specified line of text |
env |
환경변수 조회 및 변경 |
expr |
Evaluates expressions |
factor |
숫자를 소인수분해하는 프로그램 |
false |
Does nothing, but exits unsuccessfully |
groups |
Prints the GID of which the user is a member |
hostid |
Prints the numeric identifier for the current host |
id |
Prints real/effective UID and GID |
link |
Creates a link to a file |
logname |
Print the user's login name |
nice |
Modifies scheduling priority |
nohup |
Allows a command to continue running after logging out |
pathchk |
Checks whether file names are valid or portable |
pinky |
A lightweight version of finger |
printenv |
Prints environment variables |
printf |
Formats and prints data |
pwd |
Prints the current working directory |
readlink |
심볼릭 링크 값 표시 |
runcon |
Run command with specified security context |
seq |
Prints a sequence of numbers |
sleep |
Delays for a specified amount of time |
stat |
Returns data about an inode |
stty |
Changes and prints terminal line settings |
su |
Run a shell or command with substitute user and group IDs |
tee |
Sends output to multiple files |
test |
Evaluates an expression |
timeout |
Run a command with a time limit |
true |
아무것도 하지 않지만, 종료상태는 0(성공) |
tty |
터미널 이름 출력 |
uname |
Prints system information |
unlink |
Removes the specified file using the unlink function
|
uptime |
Tells how long the system has been running |
users |
Prints the user names of users currently logged into the current host |
who |
Prints a list of all users currently logged in |
whoami |
Prints the effective userid |
yes |
문자열 반복 출력 |
5 기타 도구[ | ]
[ |
A synonym for test; this program permits expressions like [ expression ]. |
6 같이 보기[ | ]
7 참고[ | ]
- ↑ fileutils-4.1.11, textutils-2.1, sh-utils-2.0.15으로 따로 있던 것이 2003년에 coreutils-5.0으로 통합됨