I would like to know if there is a way of using bash expansion to view all possibilities of combination for a number of digits in hexadecimal. I can expand in binariesIn base 2:echo {0..1}{0..1}{0..1}Which gives back:000 001 010 011 100 101 110 111In base 10:echo {0..9}{0..9}Which gives back:00  01 02...99But in hexadecimal:echo {0..F}Just repeat:{0..F}
Bash expansion hexadecimal
bash;brace expansion;numeric data;hex
You can; you just need to break the range {0..F} into two separate ranges {0..9} and {A..F}:$ printf '%s\n' {{0..9},{A..F}}{{0..9},{A..F}}0001...FEEF