Linux builtin

Linux builtin command

Using Linux pwd command to print current working directory

 

Using Linux pwd command to print current working directory.

 


builtin

 

Get help on Linux builtin Command.

 

   Linux builtin command is use to define builtin variables on Linux system.  The Linux builtin command is one of bash shell built in command.  The command example below show how to get help on Linux builtin command using shell command, this help show information on how to use the Linux builtin command, the builtin command options and the arguments that can be use with Linux builtin command.

 

Get Linux builtin command help

 


How to clear command history using Linux history command

 

How to clear command history using Linux history command.

 

   The Linux command history is a list of Linux command that you execute in or on current shell session.  This list of command history is store inside your home directory, in hidden file called ".bash_history".  The default configuration of command history can store up to 500 entry of your previous executed command.  This list of history command is quite annoying if you want to hide your track or if you want to hide the command entry that you have execute in your shell session.  The example below show how clear command history using history command.

 


Show Disable Linux Command using enable command

 

Show Disable Linux Command using enable command.

 

   The command below show how you can list and show disable command on your Linux system.  The show disable command example below execute on Linux Fedora system.  Please  note that you can enable Linux built in command or you can choose to disable Linux basic command by using the enable command.

 

Show disable Linux command.

 

To show disable Linux command, execute enable command with -n option as show on example below.


Disable Linux builtin command using enable command

 

Disable Linux builtin command using enable command.

 

   The step by step Linux command example below show how to disable Linux builtin command using the enable command.  By disabling the Linux builtin command, it allow you to execute command that using same name as Linux builtin command to be execute without specifying the full pathname to the binary file of that command.  The step by step command example below use pwd command as an example to show the output when we use the pwd command from Linux built command and after that we disable the Linux builtin command in this case pwd command and then execute the pwd command from the disk command (not builtin command).


List Linux shell builtin command using enable command

 

List Linux shell builtin command using enable command.

 

   The Linux command example below show how you can show and list all available shell builtin command on your Linux system.  The enable command without any option or enable command with -a option give you the output of all available Linux shell builtin commands on your system base on your shell.  The example below show the enable command execute using bash shell on Linux Fedora system.

 

Shell builtin command list.

 


Using cd command to change directory to another directory

 

Using cd command to change directory to another directory.

 

   On Windows system we use to call folder, but on Linux system the folder is not a folder... they are call directory.  The Linux system is base on directory hierarchy that start from root directory... so if you are from Windows worlds... there are no more folder :-) its only directory.  To browse from one directory to another directory using Linux command line, Linux use cd command.  The example below show how to use cd command to go from one directory to another directory on Linux system.

 


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.

 


Syndicate content