Skip to content

Tag Archives: Linux-Shell-Commands

In this article, we will discuss how to delete a file from every directory above the parent working directory using shell script in Linux. To… Read More
Most of the time, we use shell scripting to interact with the files. Shell scripting offers some operators as well as some commands to check… Read More
Programming for fun can manifest itself in the works of leisurely coding practice as well. Regardless of being academically inadequate, the task certainly does contribute… Read More
RPM is an acronym for Revolution Per Minute. RPM is the number of revolutions a hard disk makes in a single minute. Normally, the higher… Read More
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(+), subtraction(-), multiplication(*),… 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