Skip to content

Latest commit

 

History

History

0x04-loops_conditions_and_parsing

0x04. Loops, conditions and parsing

Resources:books:

Read or watch:


Learning Objectives:bulb:

What you should learn from this project:

  • How to create SSH keys
  • What is the advantage of using #!/usr/bin/env bash over #!/bin/bash
  • How to use while, until and for loops
  • How to use if, else, elif and case condition statements
  • How to use the cut command
  • What are files and other comparison operators, and how to use them

  • Read for this task:
  • Write a Bash script that displays Best School 10 times.
  • Write a Bash script that displays Best School 10 times.
  • Write a Bash script that displays Best School 10 times.
  • Write a Bash script that displays Best School 10 times, but for the 9th iteration, displays Holberton School and then Hi on a new line.
  • Write a Bash script that loops from 1 to 10 and:
  • Write a Bash script that displays numbers from 1 to 20 and:
  • Write a Bash script that displays the time for 12 hours and 59 minutes:
  • Write a Bash script that displays:
  • Write a Bash script that gives you information about the school file.
  • Write a Bash script that displays numbers from 1 to 100.

Author