☾
Light
Home
› Shell & Scripting
🐚
Shell & Scripting
Shell builtins, redirection, expansion, job control and scripting helpers.
alias
Create shorthand names for commands or command sequences.
bash
GNU Bourne-Again shell
bc
Arbitrary precision calculator
bg
Resume a job in the background
clear
Clear the terminal screen
command
Run a command bypassing functions/aliases
declare
Declare shell variables with types and attributes.
disown
Detach a job from the shell
env
Print environment variables or run a command with a modified environment.
eval
Execute a string as shell code
exec
Replace the shell with a command
export
Set environment variables available to child processes.
expr
Evaluate expressions
false
Exit with failure
fg
Bring a job to the foreground
getent
Query system databases
getopts
Parse script options
history
Display or manipulate the shell command history.
jobs
List background and stopped jobs in the current shell.
local
Declare a function-local variable
mapfile
Read lines into an array
parallel
Execute jobs in parallel from command line or files.
printenv
Print the value of specific environment variables.
read
Read input from stdin or user prompt into shell variables.
screen
Terminal multiplexer with persistent sessions (older alternative to tmux).
set
Set shell options and positional parameters; control script safety.
sh
POSIX shell
shift
Shift positional parameters
sleep
Pause execution for a specified duration.
source
Execute a script in the current shell context (no subshell).
stty
Configure terminal line settings and fix broken terminals.
test
Evaluate conditional expressions in shell scripts.
time
Time a command
timeout
Run a command with a time limit
tmux
Terminal multiplexer: manage multiple terminal sessions in one window.
tput
Query and initialize terminal capabilities for scripting.
trap
Execute commands when the shell receives signals or exits.
true
Exit with success
type
Describe how a name is interpreted
unset
Remove a variable or function
wait
Wait for background jobs
whereis
Locate binary, source, and man page for a command.
which
Locate the executable that would be run for a given command.
xdg-open
Open a file or URL with the default app
yes
Repeat a string forever