Skip to content

Tag Archives: Linux-Shell-Commands

coproc command in Linux is a shell command which allows us to create a co-process that is connected to the invoking shell via two pipes.… Read More
The let command is used to evaluate arithmetic expressions on shell variables. Syntax: let [expression] Options: Basic arithmetic operators : The addition(+), subraction(-), multiplication(*), division(/)… Read More
The declare is a builtin command of the bash shell. It is used to declare shell variables and functions, set their attributes and display their… Read More
read command in Linux system is used to read from a file descriptor. Basically, this command read up the total number of bytes from the… Read More
chsh command in Linux is used to change the user’s login shell(currently login shell). Shell is an interactive user interface with an operating system and… Read More
dirs command shell builtin is used to display the list of currently remembered directories. By default, it includes the directory you are currently in. A… Read More
exec command in Linux is used to execute a command from the bash itself. This command does not create a new process it just replaces… Read More
while command in Linux is used to repeatedly execute a set of command as long as the COMMAND returns true. The test command is given… Read More
return command is used to exit from a shell function. It takes a parameter [N], if N is mentioned then it returns [N] and if… Read More
“printf” command in Linux is used to display the given string, number or any other format specifier on the terminal window. It works the same… Read More
Enables and disables are the built-in shell commands. enable command is used to start the printers or classes whereas the disable command is used to… Read More
until command in Linux used to execute a set of commands as long as the final command in the ‘until’ Commands has an exit status… Read More
for command in Linux is used to repeatedly execute a set of command for every element present in the list. Syntax: for NAME [in WORDS… Read More
which command in Linux is a command which is used to locate the executable file associated with the given command by searching it in the… Read More
break command is used to terminate the execution of for loop, while loop and until loop. It can also take one parameter i.e.[N]. Here n… Read More