Satish Kumar
MY BLOGS
-
Linux Concept
https://linuxconcept.com/
This Blog is for Linux Lover, we are providing tutorial content on Linux Operating system and Open Source Application.
LATEST ARTICLES ( 282 )
-
Looping with the for Command in Linux Bash Script
For iterative operations, the bash shell uses three types of loops: for, while, and until. Using the for looping command, we can execute a set of commands for... Read more
Posted on 16 April 2021 -
Menus with Select in Linux Bash Script
With the Bash shell, it is possible to create simple menus with the help of the built-in select command. The syntax of select is as follows: PS3=prompting-text... Read more
Posted on 15 April 2021 -
Using Switching Case in Linux Bash Script
Apart from simple branches with if, it is also possible to process multiple decision-making operations using the case command. Read more
Posted on 14 April 2021 -
Conditional Structure in Linux Bash/shell Script – If Else
We use the if expression to check the pattern or command status and accordingly we can make certain decisions to execute scripts or commands. Read more
Posted on 13 April 2021 -
Use the Test Command in Linux
Let’s now understand the test command. Using the test command Let’s look at the following example to check the content or value of expressions: $ test... Read more
Posted on 12 April 2021 -
Check Exit Status of Commands in Linux
Automation using shell scripts involves checking whether an earlier command executed successfully, whether a file is present, and so on. Read more
Posted on 11 April 2021 -
Floating-point Arithmetic Operation in Linux Shell
In the Bash shell, we can only perform integer arithmetic. If we want to perform arithmetic involving a floating point or fractional values, then we will need t... Read more
Posted on 10 April 2021 -
Binary, Octal, and Hex Arithmetic Operations in Linux Shell
Integer values can be represented in decimal, binary, octal, or hex numeric notations. By default, integer values are represented in decimal notation. Binary... Read more
Posted on 09 April 2021 -
Using the Expr Command for Arithmetic in Linux Shell
We can use the expr command for arithmetic operations. The expr command is an external command; the binary of the expr command is stored in the folder... Read more
Posted on 08 April 2021 -
Using the Let Command for Arithmetic in Linux Shell
We can use the bash built-in command let for performing arithmetic operations. To get more information about let, type the following: $ help let This should... Read more
Posted on 07 April 2021 -
Using the Let Command for Arithmetic
We can use the bash built-in command let for performing arithmetic operations. To get more information about let, type the following: $ help let This should... Read more
Posted on 07 April 2021 -
Using a Declare Command for Arithmetic
Whenever we declare any variable, by default, this variable stores the string type of data. We cannot do arithmetic operations on them. We can declare a variabl... Read more
Posted on 06 April 2021 -
Using a Declare Command for Arithmetic in Linux Shell
Whenever we declare any variable, by default, this variable stores the string type of data. We cannot do arithmetic operations on them. We can declare a variabl... Read more
Posted on 06 April 2021 -
Debugging Linux Shell Script
In the very old days of computer technology, the initial problems with computers were due to real insects. Due to this, fault finding was later called... Read more
Posted on 05 April 2021 -
File Handling in Linux
Introducing file handling The exec command is very interesting. Whenever we run any command in a shell, a new subshell or process gets created, and the command... Read more
Posted on 04 April 2021 -
Understanding on
The here string is used for input redirection from <indexentry content=”<<text or a variable. Input is mentioned on the same line within single quotes... Read more
Posted on 03 April 2021 -
Understanding on
This is a special type of block of text or code. It is also a <indexentry content=”<special form of I/O redirection. It can be used to feed the command... Read more
Posted on 02 April 2021 -
Interactive Shell Scripts
The read command is a built-in shell command for reading data from a file or keyboard. The read command receives the input from the keyboard or a file until it... Read more
Posted on 01 April 2021 -
Working with Arrays
An array is a list of variables. For example, we can create an array called FRUIT, which will contain the names of many fruits. The array does not have a limit... Read more
Posted on 31 March 2021 -
Understanding Default Parameters
Many times, we may pass certain parameters from the command line, but, sometimes, we may not pass any parameters at all. We may need to initialize certain... Read more
Posted on 30 March 2021