Linux World
Pages
Home
Programming
Computer Architecture
Tit Bits
Trouble Shoot
Kernel Related
Quizzes
Linux Tips
Follow @Linux_world
Search
Create animated 2019 on terminal
The above animation can be generated on the termnal using the following script.
#!/bin/bash #create 2017 on terminal using any user specified character str_dwn() { rows=$1 s_start=$2 char=$4 str_st_row=$3 rows_end=$((str_st_row+rows)) for((i=str_st_row;i
Save the script as 2019.sh and run on the terminal to generate the animation.
Create a countdown to 2019
Save the following script as countdown2019.sh
str_dwn() { rows=$1 s_start=$2 char=$4 str_st_row=$3 rows_end=$((str_st_row+rows)) for((i=str_st_row;i
Run the script as
bash countdown2019.sh
It should generate a countup from 2016,2017,2018 and 2019 on the terminal with random colors made up of *.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)