Linux World
Pages
(Move to ...)
Home
Programming
Computer Architecture
Tit Bits
Trouble Shoot
Kernel Related
Quizzes
Linux Tips
▼
Creating 2018 on the terminal
Here is a bash script which can be used to create the text 2018 on the terminal using any characher of your choice.
#!/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
We have entered "&" as the character, and you should see the output as shown below.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment