UNIX/Linux Bash Shell Scripting: Bash for loop example-1

UNIX/Linux Bash Shell Scripting: Bash for loop example-1

瀏覽:491
日期:2025-04-25
#!/bin/bash # Usage: script.sh number # A for loop example produces following output # # * # * * # * * * # * * * * # * * * * * # Method1 c=1 n=$1 echo -e "\033[47m\c" #colourizing output for ((row=1;row=n;row++))...看更多