Bash `set -x` command
This tutorial is on multiple ways of enabling debugging feature for the bash script and the uses of the `set -x` command for debugging the bash script.
Read MoreThis tutorial is on multiple ways of enabling debugging feature for the bash script and the uses of the `set -x` command for debugging the bash script.
Read MoreBash doesn’t have a strong type system. To allow type-like behavior, it uses attributes that can be set by a command. ‘declare’ is a bash built-in command that allows you to update attributes applied to variables within the scope of your shell. In addition, it can be used to declare a variable in longhand. Lastly, it allows you to peek into variables.
Read MoreThis is how to create a bash alias with the arguments and parameters and explored the way which leads us to pass the arguments and parameters to the bash alias.
Read MorePractical tutorial on two common ways of checking whether your command succeeded in Bash – the conditional if-else statement and the special variable ($?).
Read MoreThere are 4 ways to write any file while bash scripting that are: using directional operators, using tee command, using printf and using heredoc format.
Read MoreYou can create interactive scripts by taking input from the user during execution. It also helps you to manipulate the output as per the requirements.
Read MoreIn the programming language, there are mainly three types of loops (for, while, and until). 10 cool and awesome Bash Loop examples are discussed.
Read MoreThe “((..))” double parentheses are similar to the let command, which you can use to perform arithmetic calculations in a script.
Read MoreA floating number is a positive and negative whole number with a decimal point like 2.5, 10.8, -5.23, etc. Floating Point Math in Bash is discussed.
Read MoreThe bash continue built-in statement resumes the iteration of an enclosing loop such as while, for, select, or until. It has meaning when it applies to loops.
Read MoreBash is a fantastic command line shell that works as a scripting language. However, Bash does not contain a full-blown programming language.
Read MoreTutorial on the approach to mastering backticks in Linux Bash scripts to run the multiple commands from the Bash script and execute them based on their output.
Read MoreComprehensive tutorial on how to make a Bash script return with different return codes on exit using the exit codes by setting up the different return codes.
Read MoreTutorial on how to use the greater than numerical comparison in a Bash script by comparing variables, strings, and numbers using the script’s > or -gt command.
Read MorePractical tutorial on how to perform the multiplication and division of numbers in Bash through the expr command by creating arithmetic calculations.
Read MorePractical tutorial on how to assign the variables in the Bash script using the read command and printing the input in the terminal and practical examples.
Read MorePractical tutorial on the OR logical operator which can be used in the Bash script and the difference between the OR logical operator and -o logical operator.
Read MoreComprehensive tutorial on how to use the Bash conditions in Linux by understanding the conditional statements to create Bash scripts along with examples.
Read MoreTutorial on the -s test condition in Bash to display and determine whether the file is empty or not in the test command by testing two files in the example.
Read MorePractical tutorial on how to use the Bash -f test condition to see how to check whether a stored file in the system is regular or not using a Bash script.
Read More