← 返回命令列表

Linux command

coreutils 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List all commands

coreutils --help

Run a coreutils command

coreutils [ls] -la

Check coreutils version

coreutils --version

Run cat through coreutils

coreutils cat [file.txt]

Run basename via coreutils

coreutils basename [/path/to/file.txt]

说明

GNU Coreutils is the collection of basic file, shell, and text manipulation utilities that are expected to exist on every Unix-like operating system. The coreutils command itself is a multicall binary that can invoke any of the included utilities. The package includes essential commands for file operations (cp, mv, rm, ls, mkdir), text processing (cat, head, tail, sort, uniq, wc), shell utilities (echo, printf, test, expr), and system information (uname, hostname, uptime, who). On most Linux systems, these utilities are installed as individual binaries in /usr/bin or /bin. The multicall binary is useful in minimal environments like containers or embedded systems where a single binary provides all functionality, similar to BusyBox.

参数

--help
List all available commands in the coreutils package.
--version
Display the coreutils version information.

FAQ

What is the coreutils command used for?

GNU Coreutils is the collection of basic file, shell, and text manipulation utilities that are expected to exist on every Unix-like operating system. The coreutils command itself is a multicall binary that can invoke any of the included utilities. The package includes essential commands for file operations (cp, mv, rm, ls, mkdir), text processing (cat, head, tail, sort, uniq, wc), shell utilities (echo, printf, test, expr), and system information (uname, hostname, uptime, who). On most Linux systems, these utilities are installed as individual binaries in /usr/bin or /bin. The multicall binary is useful in minimal environments like containers or embedded systems where a single binary provides all functionality, similar to BusyBox.

How do I run a basic coreutils example?

Run `coreutils --help` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in coreutils?

List all available commands in the coreutils package.