LinuxCommandLibrary

coreutils

GNU core Unix utilities collection

TLDR

List all commands in GNU coreutils

$ coreutils --help
copy
Run a coreutils command via the multicall binary
$ coreutils [ls] -la
copy
Check coreutils version
$ coreutils --version
copy
Run cat through coreutils
$ coreutils cat [file.txt]
copy
Run basename via coreutils
$ coreutils basename [/path/to/file.txt]
copy

SYNOPSIS

coreutils [command] [arguments]

DESCRIPTION

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.

PARAMETERS

--help

List all available commands in the coreutils package.
--version
Display the coreutils version information.
COMMAND
Any coreutils command to execute (ls, cat, cp, mv, etc.).

INCLUDED COMMANDS

File operations: cp, mv, rm, ln, mkdir, rmdir, touch, chmod, chown, ls, dir, vdir
Text processing: cat, head, tail, sort, uniq, wc, cut, paste, join, tr, fold
Shell utilities: echo, printf, test, expr, true, false, yes, seq, sleep
System info: uname, hostname, uptime, who, whoami, id, groups, date

CAVEATS

Behavior may differ between GNU coreutils and BSD/macOS implementations. Some options are GNU extensions not available on other Unix systems. The multicall binary may not be installed by default on all distributions.

HISTORY

GNU Coreutils was formed in 2002 by merging three GNU packages: fileutils, shellutils, and textutils. These utilities were created as part of the GNU Project, started by Richard Stallman in 1983, to provide free replacements for proprietary Unix tools.

SEE ALSO

ls(1), cp(1), mv(1), cat(1), busybox(1)

> TERMINAL_GEAR

Curated for the Linux community

Bmax Mini PC B2 Power Intel 5205U 8GB DDR4 256GB M.2 NVMe SSD ,HDMI 1.4&DP 1.2, USB3.2,4K Dual Display 2.4G/5G WiFi & BT5.0 Mini Desktop Computers /Office/Design

Bmax Mini PC B2 Power Intel 5205U 8GB DDR4 256GB M.2 NVMe SSD ,HDMI 1.4&DP 1.2, USB3.2,4K Dual Display 2.4G/5G WiFi & BT5.0 Mini Desktop Computers /Office/Design

$169.99
nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

$129.95
KIWITATA 2X Classic SNES USB Controller for PC Gamings, Retro SNES Wired USB Game Emulator Controller for Windows XP 7 8 11 Mac Raspberry Pi

KIWITATA 2X Classic SNES USB Controller for PC Gamings, Retro SNES Wired USB Game Emulator Controller for Windows XP 7 8 11 Mac Raspberry Pi

$16.99
Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

$54.00
Lenovo Gen 13 ThinkPad X1 Carbon Touchscreen Laptop with Intel Ultra 7 265U Processor, 14" WUXGA 100% sRGB, 32GB DDR5 RAM, 1TB NVMe Performance SSD, FHD+ IR+ RGB Camera, and Windows 11 Pro

Lenovo Gen 13 ThinkPad X1 Carbon Touchscreen Laptop with Intel Ultra 7 265U Processor, 14" WUXGA 100% sRGB, 32GB DDR5 RAM, 1TB NVMe Performance SSD, FHD+ IR+ RGB Camera, and Windows 11 Pro

$1,589.00
Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50