List of Internal Commands for linux: - COFPROG

List of Internal Commands for linux:

List of Internal Commands for linux:

alias: This command allows you to define commands of your own, or replace existing ones. For example, 'alias rm=rm -i' will make rm interactive so you don't delete any files by mistake. 
alias command tells the shell to replace one string with another string while executing the commands.
    • alias [-p] [name[=value] ... ]
break: Used mostly in shell scripting to break the execution of a loop
    • break [n]
cd: Change directory. For example, 'cd /usr' will make the current directory be /usr. See also pwd.
  • cd [directory]
continue: Used mostly in shell scripting to continue the execution of a loop

  • continue [N]
echo: List the value of variables, either environment-specific or user-declared ones, but can also display a simple string.

  • echo [option] [string]
export: Allows the user to export certain environment variables, so that their values are used to all subsequent commands
  • export [-f] [-n] [name[=value] ...] or export -p
fg: Resume the execution of a suspended job in the foreground. See also bg.

history: With no arguments, gives a numbered list of previously issued commands. With arguments, jumps to a certain number in said list.


kill: Send a termination signal by default, or whatever signal is given as an option, to a process ID.


pwd: Print working directory


read: Used mostly in scripts, it is used to get input from the user or another program


test: Used with an expression as an argument, it returns 0 or 1, depending on the evaluation of said expression


times: Print the accumulated user and system times for the shell and for processes run from the shell. The return status is 0.


type: Indicates what kind of command is the argument taken.


unalias: The unalias command is used to remove entries from the current user's list of aliases. unalias removes aliases created during the current login session. It also suppresses permanent aliases; however, they are affected only for the current login session and are restored after the user logs in again.


wait: Usually given a process id, it waits until said process terminates and returns its status.




bg: The bg command is part of Linux/Unix shell job control. The command may be available as both internal and external command. It resumes execution of a suspended process as if they had been started with &. Use bg command to restart a stopped background process

bind: bind command is Bash shell builtin command. It is used to set Readline key bindings and variables. The keybindings are the keyboard actions that are bound to a function. So it can be used to change how the bash will react to keys or combinations of keys, being pressed on the keyboard.

builtin: builtin command is used to run a shell builtin, passing it arguments(args), and also to get the exit status. The main use of this command is to define a shell function having the same name as the shell builtin by keeping the functionality of the builtin within the function.

caller: Caller is a builtin command that returns the context (localization) of any active subroutine call (a shell function or a script executed with the . or source builtins.

cd
command
compgen
complete
compopt
continue
declare
dirs
disown
echo
enable
eval
exec
exit
export
false
fc
fg
getopts
hash
help
history
jobs
kill
let
local
logout
mapfile
popd
printf
pushd
pwd
read
readarray
readonly
return
set
shift
shopt


Previous
Next Post »

1 comments:

Write comments
6 December 2017 at 02:26 delete

I really appreciate the information shared above. It’s of great help. If someone wants to learn Online (Virtual) instructor lead live training in #IBM #QRadar, kindly contact us http://www.maxmunus.com/contact
MaxMunus Offer World Class Virtual Instructor-led training on #IBM #QRadar. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ pieces of training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain, and UAE etc.
Avishek Priyadarshi
MaxMunus
E-mail: avishek@maxmunus.com
Skype id: avishek_2.
Ph:(0) 8553177744 / 080 - 41103383
http://www.maxmunus.com/

Reply
avatar

BOOK OF THE DAY