Category: Learn Bash

  • Basic Calculator Program | Learn Bash – Part 8

    Basic Calculator Program Learn Bash

    Welcome to the mini project of the BASH scripting series. I hope you are excited! 🙂 We will build a simple calculator program using BASH scripting language and at the same time reinforce all the concepts already taught. In a quick summary, we’ve explored the fundamental topics on variables, decisions, control statements, and arguments. Then […]

  • Arguments | Another way to work with user inputs – Part 7

    Arguments Another way to work with user inputs

    Welcome to the Arguments chapter of the BASH scripting series. This chapter will introduce you to another new method of getting user inputs for your script. In the previous chapter, we’ve used the read command to get user inputs. Our bash interpreter invokes the read command works after our bash program, i.e., user input is prompted after […]

  • Bash for loop – Loops In BASH- Learn BASH | Part 6

    Bash for loop Loops In BASH

    Welcome to the sixth chapter on BASH scripting series. And today we will dive into a very cool topic called looping constructs in computer programming. Loops are important if we have a task that needs repetition. There are different types of loops in bash, bash for loop, while loop, and until loop. In the previous chapter […]

  • Operators In BASH – Learn BASH | Part 5

    Operators In BASH

    In the previous decisions chapter, we came across many new operators while learning the if, if-else, and elif statements. Today this chapter will provide deep insight to operators and their various types in computer programming. Read on below to learn more about them. Types of operators There are many types of operators in BASH but for the sake […]

  • Decisions | A Way To Make BASH Program Intelligent – Learn BASH | Part 4

    Decisions A Way To Make BASH Program Intelligent

    Welcome to the fourth chapter of BASH scripting series in which we will discuss the topic, decisions. Like a human being making decisions throughout the day, computers too need to decide on the best possible route when executing stuff from time to time. It has to consider whether a certain line of statements is necessary to […]

  • Comments In BASH – Learn BASH | Part 3

    Comments In BASH

    Welcome to chapter three of BASH scripting series. Today we’ll dive into a very important topic in programming called comment. Comment, in programming, is somewhat different from the online world of the Internet where you read an article or a blog and then throw some of your opinions or applaud the author in the comment section. […]

  • Variables in BASH – Learn BASH | Part 2

    Variables in BASH

    Welcome to the second chapter of BASH scripting series in which we will discuss the topic variables. Did you know that every programming language has a way to let programmers declare variables in their programs? But what exactly are they and why do we need variables in programming? Read on below to learn more about variables. […]

  • Introduction To BASH Scripting – Learn BASH | Part 1

    Introduction To BASH Scripting

    Welcome to the introductory series on BASH scripting. This series will cover a complete guide on BASH scripting starting from the foundation of computer programming then progressing on to the basic constructs of this scripting language and finally, you will also create a simple mini-project using this scripting language. BASH is short for Bourne-again Shell, a […]