list_of_gnu_core_utilities_commands
Table of Contents
List of GNU Core Utilities commands
This is a list of commands from the GNU Core Utilities for Unix environments. These commands can be found on Unix operating systems and most Unix-like operating systems.
List
Name | Category | Description |
---|---|---|
[[chcon]]
|
File utilities | Changes file security context (SELinux) |
[[chgrp]]
|
File utilities | Changes file group ownership |
[[chown]]
|
File utilities | Changes file ownership |
[[chmod]]
|
File utilities | Changes the permissions of a file or directory |
[[cp (Unix)|cp]]
|
File utilities | Copies a file or directory |
[[dd (Unix)|dd]]
|
File utilities | Copies and converts a file |
[[df (Unix)|df]]
|
File utilities | Shows disk free space on file systems |
[[ls|dir]]
|
File utilities | Is exactly like “
ls -C -b ”. (Files are by default listed in columns and sorted vertically.) |
[[dircolors (Unix)|dircolors]]
|
File utilities | Set up color for
ls
|
[[install (Unix)|install]]
|
File utilities | Copies files and set attributes |
[[ln (Unix)|ln]]
|
File utilities | Creates a link to a file |
[[ls]]
|
File utilities | Lists the files in a directory |
[[mkdir]]
|
File utilities | Creates a directory |
[[mkfifo]]
|
File utilities | Makes named pipes (FIFOs) |
[[mknod]]
|
File utilities | Makes block or character special files |
[[mktemp]]
|
File utilities | Creates a temporary file or directory |
[[mv]]
|
File utilities | Moves files or rename files |
[[realpath]]
|
File utilities | Returns the resolved absolute or relative path for a file |
[[rm (Unix)|rm]]
|
File utilities | Removes (deletes) files, directories, device nodes and symbolic links |
[[rmdir]]
|
File utilities | Removes empty directories |
[[shred (Unix)|shred]]
|
File utilities | Overwrites a file to hide its contents, and optionally deletes it |
[[sync (Unix)|sync]]
|
File utilities | Flushes file system buffers |
[[touch (command)|touch]]
|
File utilities | Changes file timestamps |
truncate
|
File utilities | Shrink or extend the size of a file to the specified size |
[[ls|vdir]]
|
File utilities | Is exactly like “
ls -l -b ”. (Files are by default listed in long format.) |
[[b2sum]]
|
Text utilities | Computes and checks BLAKE2b message digest |
base32
|
Text utilities | Encodes or decodes Base32, and prints result to standard output |
base64
|
Text utilities | Encodes or decodes Base64, and prints result to standard output |
[[cat (Unix)|cat]]
|
Text utilities | Concatenates and prints files on the standard output |
[[cksum]]
|
Text utilities | Checksums and count the bytes in a file |
[[comm]]
|
Text utilities | Compares two sorted files line by line |
[[csplit]]
|
Text utilities | Splits a file into sections determined by context lines |
[[cut (Unix)|cut]]
|
Text utilities | Removes sections from each line of files |
[[expand (Unix)|expand]]
|
Text utilities | Converts tabs to spaces |
[[fmt (Unix)|fmt]]
|
Text utilities | Simple optimal text formatter |
[[fold (Unix)|fold]]
|
Text utilities | Wraps each input line to fit in specified width |
[[head (Unix)|head]]
|
Text utilities | Outputs the first part of files |
[[join (Unix)|join]]
|
Text utilities | Joins lines of two files on a common field |
[[md5sum]]
|
Text utilities | Computes and checks MD5 message digest |
[[nl (Unix)|nl]]
|
Text utilities | Numbers lines of files |
[[numfmt]]
|
Text utilities | Reformat numbers |
[[od (Unix)|od]]
|
Text utilities | Dumps files in octal and other formats |
[[paste (Unix)|paste]]
|
Text utilities | Merges lines of files |
[[ptx (Unix)|ptx]]
|
Text utilities | Produces a permuted index of file contents |
[[pr (Unix)|pr]]
|
Text utilities | Converts text files for printing |
[[sha1sum]] ,<br> sha224sum ,<br> sha256sum ,<br> sha384sum ,<br> sha512sum
|
Text utilities | Computes and checks SHA-1/SHA-2 message digests |
[[shuf]]
|
Text utilities | generate random permutations |
[[sort (Unix)|sort]]
|
Text utilities | sort lines of text files |
[[split (Unix)|split]]
|
Text utilities | Splits a file into pieces |
[[sum (Unix)|sum]]
|
Text utilities | Checksums and counts the blocks in a file |
tac
|
Text utilities | Concatenates and prints files in reverse order line by line |
[[tail (Unix)|tail]]
|
Text utilities | Outputs the last part of files |
[[tr (Unix)|tr]]
|
Text utilities | Translates or deletes characters |
[[tsort]]
|
Text utilities | Performs a topological sort |
[[unexpand]]
|
Text utilities | Converts spaces to tabs |
[[uniq]]
|
Text utilities | Removes duplicate lines from a sorted file |
[[wc (Unix)|wc]]
|
Text utilities | Prints the number of bytes, words, and lines in files |
[[uname|arch]]
|
Shell utilities | Prints machine hardware name (same as uname -m) |
[[basename]]
|
Shell utilities | Removes the path prefix from a given pathname |
[[chroot]]
|
Shell utilities | Changes the root directory |
[[Unix time#Command line|date]]
|
Shell utilities | Prints or sets the system date and time |
[[dirname]]
|
Shell utilities | Strips non-directory suffix from file name |
[[du (Unix)|du]]
|
Shell utilities | Shows disk usage on file systems |
[[echo (command)|echo]]
|
Shell utilities | Displays a specified line of text |
[[env]]
|
Shell utilities | Displays and modifies environment variables |
[[expr]]
|
Shell utilities | Evaluates expressions |
[[factor (Unix)|factor]]
|
Shell utilities |
[[Integer factorization|Factors numbers]]
|
[[false (Unix)|false]]
|
Shell utilities | Does nothing, but exits unsuccessfully |
[[groups (Unix)|groups]]
|
Shell utilities | Prints the groups of which the user is a member |
[[hostid (Unix)|hostid]]
|
Shell utilities | Prints the numeric identifier for the current host |
[[id (Unix)|id]]
|
Shell utilities | Prints real or effective UID and GID |
[[link (Unix)|link]]
|
Shell utilities | Creates a link to a file |
[[logname]]
|
Shell utilities | Print the user's login name |
[[nice (Unix)|nice]]
|
Shell utilities | Modifies scheduling priority |
[[nohup]]
|
Shell utilities | Allows a command to continue running after logging out |
[[nproc]]
|
Shell utilities | Queries the number of (active) processors |
[[pathchk (Unix)|pathchk]]
|
Shell utilities | Checks whether file names are valid or portable |
[[pinky (Unix)|pinky]]
|
Shell utilities | A lightweight version of finger |
[[printenv]]
|
Shell utilities | Prints environment variables |
[[printf]]
|
Shell utilities | Formats and prints data |
[[pwd]]
|
Shell utilities | Prints the current working directory |
[[readlink (Unix)|readlink]]
|
Shell utilities | Displays value of a symbolic link |
[[runcon]]
|
Shell utilities | Run command with specified security context |
[[seq (Unix)|seq]]
|
Shell utilities | Prints a sequence of numbers |
[[sleep (command)|sleep]]
|
Shell utilities | Delays for a specified amount of time |
[[stat (system call)|stat]]
|
Shell utilities | Returns data about an inode |
[[stdbuf]]
|
Shell utilities | Controls buffering for commands that use stdio |
[[stty (Unix)|stty]]
|
Shell utilities | Changes and prints terminal line settings |
[[tee (command)|tee]]
|
Shell utilities | Sends output to multiple files |
[[test (Unix)|test]]
|
Shell utilities | Evaluates an expression |
[[Timeout (computing)|timeout]]
|
Shell utilities | Run a command with a time limit |
[[true (Unix)|true]]
|
Shell utilities | Does nothing, but exits successfully |
tty
|
Shell utilities | Prints terminal name |
[[uname]]
|
Shell utilities | Prints system information |
[[unlink (Unix)|unlink]]
|
Shell utilities | Removes the specified file using the
unlink function |
[[Uptime#coreutils|uptime]]
|
Shell utilities | Tells how long the system has been running |
[[users (Unix)|users]]
|
Shell utilities | Prints the user names of users currently logged into the current host |
[[who (Unix)|who]]
|
Shell utilities | Prints a list of all users currently logged in |
[[whoami]]
|
Shell utilities | Prints the effective userid |
[[yes (Unix)|yes]]
|
Shell utilities | Prints a string repeatedly |
[
|
Other Utilities | A synonym for test; this program permits expressions like [ expression ]. |
See also
References
External links
- Rosetta Stone For *Nix – configurable list of equivalent programs for *nix systems.
- The Unix Acronym List – explains the names of many Unix commands.
Core Utilities commands navbar
list_of_gnu_core_utilities_commands.txt · Last modified: 2024/05/01 04:01 by 127.0.0.1