Skip to content

Tag Archives: Linux-Shell-Commands

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
sleep command is used to create a dummy job. A dummy job helps in delaying the execution. It takes time in seconds by default but… Read More
dc command in Linux is used to evaluate arithmetic expressions. It evaluates expressions in the form of a postfix expression. Entering a number pushes it… Read More
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… Read More
The expr command in Unix evaluates a given expression and displays its corresponding output. It is used for: Basic operations like addition, subtraction, multiplication, division,… Read More
echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that… Read More
eval is a built-in Linux command which is used to execute arguments as a shell command. It combines arguments into a single string and uses… Read More
continue is a command which is used to skip the current iteration in for, while and until loop. It takes one more parameter [N], if… Read More
exit command in linux is used to exit the shell where it is currently running. It takes one more parameter as [N] and exits the… Read More