LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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, vdirText processing: cat, head, tail, sort, uniq, wc, cut, paste, join, tr, foldShell utilities: echo, printf, test, expr, true, false, yes, seq, sleepSystem info: uname, hostname, uptime, who, whoami, id, groups, date

INSTALL

sudo apt install rust-coreutils
copy
sudo dnf install coreutils
copy
sudo pacman -S coreutils
copy
sudo apk add coreutils
copy
sudo zypper install coreutils
copy
brew install coreutils
copy
nix profile install nixpkgs#coreutils
copy

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)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid