Skip to content
Practicing Bash scripting.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
1-hello
2-fibonacci
3-fibonacci_index
CONTRIBUTING.md
LICENSE
README.md

README.md

practice_bash

This public repository contains a small collection of Bash-scripts that I wrote as practice.

1-hello

The simplest of scripts, Hello World. Demonstrates the bare minimum script structure.

2-fibonacci

This script calculates the first 20 Fibonacci numbers.

3-fibonacci_index

This script calculates F(n) for the given value of n, when n >= 0. In other words, F(6) equals 8 as it is the 8th number in the sequence. The script also demonstrates how to read user input both as command line parameter and in-script dialogue. Some looping and flow control structures as well.

You can’t perform that action at this time.