Linux

until loop

Jun 3,93

The until loop executes the commands between the do and done statements as long as the tested condition is false. …

Read More

while loop

Jun 3,93

The while loop executes the commands between the do and done statements as long as the tested condition is true. …

Read More

for loop

Jun 3,93

Loops are used to perform actions over and over again until a condition is met (or until a condition is …

Read More

case statement

Jun 3,93

The case statement is often used when more than two outcomes are possible. Here is the syntax: case $VARIABLE in …

Read More

if statement

Jun 3,93

One of the most commonly used programming constructs is the conditional execution, or the if statement. This statement is used to …

Read More

Write shell scripts

Jun 3,93

Let’s write a simple shell script. This script will execute a single echo command: To run the script, we need to …

Read More
Geek University 2022