Linux Builtin Commands

 

List of Linux builtins command on Linux Fedora system.

 

   What are and Why we call these Linux command is the Linux build in command? The answer is simple.  They comes build in inside the Linux shell.  The list of Linux builtin command below comes with the bash shell.  The Linux built in command display here is tested on Linux Fedora system using Bash shell.

 

List of Linux Built In Commands:

Linux Builtins Command on Fedora System

bash,

:, - Null command. 

Command example:-  Getting help on Linux null command.

., - Execute commands from a file in the current shell.

Command example:-  Getting help on Linux dot command.

[, - Evaluate conditional expression. Execute conditional command.

Command example:-  Getting help on Linux conditional command.

alias - Print and create command alias.

Command example:-  Getting help on alias command.

(1.) List alias commmand - List Linux command that already been alias.

(2.) Create command alias - Make new command with alias.

bg - Send job to background.

Command example:-  Getting help on bg command.  

bind - Bind a key sequence to a Readline function or a macro, or set a Readline variable.

Command example:-  Getting help on bind command.  

break - Exit from loop.

Command example:-  Getting help on break command.  

builtin - Execute shell builtin.

Command example:-  Getting help on Linux builtin command.  

cd - Change current directory.

Command example:-  Linux cd command help.

(1.) Go from one directory to another using Linux cd command.

command - Run builtin command or command found in search path.

Command example:-  Getting help on command command.  

compgen - Generate possible completion matches for word.

Command example:-  Getting help on compgen command.  

(1.) How to List all Linux command available using compgen command.

complete - Specify how arguments should be completed.

Command example:-  Getting help on Linux complete command

continue - Resume next iteration of the enclosing loop.

Command example:-  Linux continue command help.  

declare -  Declare variables and give them attributes.

Command example:-  Getting help on Linux declare command.

dirs - Display the list of currently remembered directories.

Command example:-  Getting help on Linux dirs command.  

disown - Remove jobs from current shell.

Command example:-  Getting help on Linux disown command.  

echo - Display, print, echoing to standard output (screen, files).

Command example:-  Getting help on Linux echo command.

enable - Enable and disable builtin shell commands.

Command example:-  Getting help on enable command

(1.) List all available Linux built in command using enable command.

(2.) Step by step disable builtin command by using enable command.

(3.) Step by step Show disable Linux command by using enable command.

eval -  Execute arguments as a shell command.

Command example:-  Getting help on Linux eval command.

exec -  Execute command.

Command example:-  Getting help on Linux exec command.

exit -  Logout or exit from shell.

Command example:-  Getting help on Linux exit command.

export - Set an environment variable.

Command example:-  Getting help on Linux export command.

fc - Display or execute commands from the history list.

Command example:-  Getting help on Linux fc command.

fg - Move job to the foreground.

Command example:-  Getting help on Linux fg command.

getopts - Parse positional parameters.

Command example:-  Getting help on Linux getopts command.

hash - Remember the full pathname of a name argument.

Command example:-  Getting help on Linux hash command

help - Display information about builtin commands.

Command example:-  Getting help on Linux help command.

history - Command Line history.

Command example:-  Getting help on history command.

(1.) Step by step clear Linux command history.

jobs - Display status of jobs.

Command example:-  Getting help on Linux jobs command.

kill - Send kill signal to a job to stop running process.

Command example:-  Getting help on kill command.

let - Perform arithmetic on shell variables.

Command example:-  Getting help on Linux let command.

local - Create variables.

Command example:-  Getting help on local command.

logout - Logout from login shell.

Command example:-  Getting help on logout command.

popd - Remove the top entry from the directory stack and restore value of the current directory that popped from the stack.

Command example:-  Getting help on Linux popd command.

printf - Format and print data.

Command example:-  Getting help on Linux printf command.

pushd - Save to directory stack and then change the current directory.

Command example:-  Getting help on Linux pushd command.

pwd -  Print pathname of current working directory.

Command example:-  Linux pwd command help.

(1.) Step by step using Linux pwd command.

read - Read line from standard input.

Command example:-  Getting help on Linux read command.

readarray - Read lines from a file into an array variable.

Command example:-  Getting help on Linux readarray command.

readonly - Mark shell variable as unchangeable.

Command example:-  Getting help on Linux readonly command.

return - Cause a function to exit.

Command example:-  Getting help on Linux return command.

set - Set or unset value of shell options and positional parameters.

Command example:-  Getting help on Linux set command.

shift - Shift positional parameters.

Command example:-  Getting help on Linux shift command.

shopt - Set and unset shell options.

Command example:-  Getting help on shopt command.

source - Execute commands from a file in the current shell.

Command example:-  Getting help on Linux source command.

suspend - Suspend shell execution.

Command example:-  Getting help on Linux suspend command.

test - Evaluate conditional expression.

Command example:-  Getting help on Linux test command.

times - Display process times.

Command example:-  Getting help on Linux times command.

trap - Trap signals and other events.

Command example:-  Getting help on Linux trap command.

type - Display information about command type.

Command example:-  Getting help on type command.

typeset - Set variable values and attributes.

Command example:-  Getting help on Linux typeset command.

ulimit - Modify shell resource limits.

Command example:-  Getting help on Linux ulimit command.

umask - Display or set file mode mask.

Command example:-  Getting help on umask command.

unalias - Remove alias from the list of defined aliases.

Command example:-  Getting help on unalias command.

unset - Unset values and attributes of shell variables and functions.

Command example:-  Getting help on Linux unset command.

wait - Wait for job completion and return exit status.

Command example:-  Linux wait command help.

 

  To find more about Linux  build in command display on the list above use man command as show on example below:

[root@fedora ~]# man 1 bash         or use

[root@fedora ~]# info bash            or try

[root@fedora ~]# info enable

 

To get Information on specific builtin command use

[root@fedora ~]# help enable

 

Keywords:  built in command, linux builtin command, linux command, linux command example, builtin shell command   

 



What is the purpose of switch

What is the purpose of switch ‘-a’ in ‘ls’ command in Linux?

ls -a for all

that ls with -a switch need when you want to show all files and directory include hidden files/directory that start whth .dot
use :
info ls, man ls
... get the manual of ls command