Linux World
Pages
Home
Programming
Computer Architecture
Tit Bits
Trouble Shoot
Kernel Related
Quizzes
Linux Tips
Follow @Linux_world
Search
Script to create 2022 On Linux Terminal
Here is a script you can run on the linux terminal to generate 2022 on the terminal using any charachter you want.
#!/bin/bash #create 2022 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 above script say as 2022.sh and execute it on the terminal using
$ bash 2022.sh What character do you want to use
2022 should appear on the terminal in random colors as shown in the figure below.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment