LinuxCommandLibrary

coreutils

Provide fundamental system utilities

TLDR

Run a utility with arguments

$ coreutils [util] [util_options]
copy

List files in [l]ong format
$ coreutils ls -l
copy

Display help for ls
$ coreutils ls --help
copy

SYNOPSIS

[COMMAND] [OPTION]... [FILE]...

PARAMETERS

--help
    Display help information and exit.

--version
    Output version information and exit.

--verbose
    Explain what is being done.

--debug
    Show debugging information.

DESCRIPTION

The GNU Core Utilities, commonly known as coreutils, provide fundamental command-line tools for file manipulation, text processing, and system administration on Unix-like operating systems. These utilities are essential for scripting, system maintenance, and general command-line interaction.
They include commands for copying files (cp), moving files (mv), creating directories (mkdir), removing files and directories (rm, rmdir), displaying file content (cat, head, tail, less), manipulating text (sort, uniq, grep), managing processes (ps, kill), and setting permissions (chmod, chown).
coreutils are designed to be portable and conform to POSIX standards, ensuring consistent behavior across different Unix-like systems. Many distributions use GNU coreutils as the default implementation of the standards.
They form the bedrock of many system administration tasks and are essential for automating complex operations using shell scripts.

CAVEATS

The specific behavior and available options of each command within coreutils can vary slightly depending on the version installed on the system. Consult the manual page for the specific command (e.g., `man cp`) for detailed information.

EXIT STATUS

Most coreutils commands return an exit status of 0 for success and a non-zero value for failure. Refer to the manual page for each specific command for details on error codes.

STANDARDS COMPLIANCE

coreutils aims to adhere to POSIX and other relevant standards. However, some commands may include GNU-specific extensions.

HISTORY

The coreutils package is a merging of the previously separate GNU fileutils, sh-utils, and textutils packages. This consolidation aimed to streamline development and reduce redundancy. The development is active and new version are released frequently with bug fixes, speed improvements and feature additions.

SEE ALSO

find(1), grep(1), sed(1), awk(1)

Copied to clipboard