Advertisement
Guest User

Untitled

a guest
Nov 29th, 2020
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for i in {0..255} ; do
  4.     printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"
  5.     if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then
  6.         printf "\n";
  7.     fi
  8. done
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement