Bash

Manual Pages

Bash Builtins

List of bash shell builtins

Command

Description

Evaluate arithmetic expression

Execute commands from a file in the current shell

Null command

Evaluate conditional expression

Execute conditional command

Define or display aliases

Move jobs to the background

Set Readline key bindings and variables

Exit for, while, or until loops

Execute shell builtins

Return the context of the current subroutine call

Execute commands based on pattern matching

Change the shell working directory

Execute a simple command or display information about commands

Display possible completions depending on the options

Specify how arguments are to be completed by Readline

Modify or display completion options

Resume for, while, or until loops

Create a coprocess named NAME

Set variable values and attributes

Display directory stack

Remove jobs from current shell

Write arguments to the standard output

Enable and disable shell builtins

Execute arguments as a shell command

Replace the shell with the given command

Exit the shell

Set export attribute for shell variables

Return an unsuccessful result

Display or execute commands from the history list

Move job to the foreground

Execute commands for each member in a list

Define shell function

Parse option arguments

Remember or display program locations

Display information about builtin commands

Display or manipulate the history list

Execute commands based on conditional

Display status of jobs

Send a signal to a job

Evaluate arithmetic expressions

Define local variables

Exit a login shell

Read lines from the standard input into an indexed array variable

Remove directories from stack

Formats and prints ARGUMENTS under control of the FORMAT

Add directories to stack

Print the name of the current working directory

Read a line from the standard input and split it into fields

Read lines from a file into an array variable

Mark shell variables as unchangeable

Return from a shell function

Select words from a list and execute commands

Set or unset values of shell options and positional parameters

Shift positional parameters

Set and unset shell options

Execute commands from a file in the current shell

Suspend shell execution

Evaluate conditional expression

Report time consumed by pipeline's execution

Display process times

Trap signals and other events

Return a successful result

Display information about command type

Set variable values and attributes

Modify shell resource limits

Display or set file mode mask

Remove each NAME from the list of defined aliases

Unset values and attributes of shell variables and functions

Execute commands as long as a test does not succeed

Common shell variable names and usage

Wait for job completion and return exit status

Execute commands as long as a test succeeds

Group commands as a unit

Coreutils - File Utilities

List of coreutils file utilities

Command

Description

Changes file security context (SELinux)

Changes file group ownership

Changes file ownership

Changes the permissions of a file or directory

Copies a file or directory

Copies and converts a file

Shows disk free space on file systems

Is exactly like "ls -C -b". (Files are by default listed in columns and sorted vertically.)

Set up color for ls

Copies files and set attributes

Creates a link to a file

Lists the files in a directory

Creates a directory

Makes named pipes (FIFOs)

Makes block or character special files

Creates a temporary file or directory

Moves files or rename files

Returns the resolved absolute or relative path for a file

Removes (deletes) files, directories, device nodes and symbolic links

Removes empty directories

Overwrites a file to hide its contents, and optionally deletes it

Flushes file system buffers

Changes file timestamps

Shrink or extend the size of a file to the specified size

Is exactly like "ls -l -b". (Files are by default listed in long format.)

Coreutils - Text Utilities

List of coreutils text utilities

Command

Description

Computes and checks BLAKE2b message digest

Encodes or decodes Base32, and prints result to standard output

Encodes or decodes Base64, and prints result to standard output

Concatenates and prints files on the standard output

Checksums and count the bytes in a file

Compares two sorted files line by line

Splits a file into sections determined by context lines

Removes sections from each line of files

Converts tabs to spaces

Simple optimal text formatter

Wraps each input line to fit in specified width

Outputs the first part of files

Joins lines of two files on a common field

Computes and checks MD5 message digest

Numbers lines of files

Reformat numbers

Dumps files in octal and other formats

Merges lines of files

Produces a permuted index of file contents

Converts text files for printing

Computes and checks SHA-1/SHA-2 message digests

generate random permutations

sort lines of text files

Splits a file into pieces

Checksums and counts the blocks in a file

Concatenates and prints files in reverse order line by line

Outputs the last part of files

Translates or deletes characters

Performs a topological sort

Converts spaces to tabs

Removes duplicate lines from a sorted file

Prints the number of bytes, words, and lines in files

Coreutils - Shell Utilities

List of coreutils shell utilities

Command

Description

Prints machine hardware name (same as uname -m)

Removes the path prefix from a given pathname

Changes the root directory

Prints or sets the system date and time

Strips non-directory suffix from file name

Shows disk usage on file systems

Displays a specified line of text

Displays and modifies environment variables

Evaluates expressions

Factors numbers

Does nothing, but exits unsuccessfully

Prints the groups of which the user is a member

Prints the numeric identifier for the current host

Prints real or effective UID and GID

Creates a link to a file

Print the user's login name

Modifies scheduling priority

Allows a command to continue running after logging out

Queries the number of (active) processors

Checks whether file names are valid or portable

A lightweight version of finger

Prints environment variables

Formats and prints data

Prints the current working directory

Displays value of a symbolic link

Run command with specified security context

Prints a sequence of numbers

Delays for a specified amount of time

Returns data about an inode

Controls buffering for commands that use stdio

Changes and prints terminal line settings

Sends output to multiple files

Evaluates an expression

Run a command with a time limit

Does nothing, but exits successfully

Prints terminal name

Prints system information

Removes the specified file using the unlink function

Tells how long the system has been running

Prints the user names of users currently logged into the current host

Prints a list of all users currently logged in

Prints the effective userid

Prints a string repeatedly

Other Commands

List of other common commands

Command

Description

ASCII character set encoded in octal, decimal, and hexadecimal

Interactive spell checker

Pattern scanning and processing language

GNU Bourne-Again SHell

An arbitrary precision calculator language

Display a calendar

Transfer a URL

Determine file type

Search for files in a directory hierarchy

Text editor for the GNOME Desktop

Print lines matching a pattern

Compress or expand files

Compress or expand files

Opposite of more

Find files by name

Display lines beginning with a given string

Print files

Interface to the system reference manuals

Visual shell for Unix-like systems.

Internal file editor of GNU Midnight Commander.

File perusal filter for crt viewing

Mount a filesystem

Nano's ANOther editor, inspired by Pico

Report a snapshot of the current processes.

OpenSSH secure file copy

Stream editor for filtering and transforming text

OpenSSH secure file transfer

OpenSSH remote login client

Command line interface for SQLite version 3

Run a command with substitute user and group ID

Execute a command as another user

An archiving utility

Terminal multiplexer

Display Linux processes

Initialize a terminal or query terminfo database

Tell how long the system has been running.

Vi IMproved, a programmer's text editor

Non-interactive network downloader.

Shows the full path of (shell) commands

Compress or expand files

File perusal filter for crt viewing of compressed text

Last updated