Linux Shell Script example4 (Create Directory)


To Create directories: 00,01,02....0f,10,11,12.....

for i in `echo 0 1 2 3 4 5 6 7 8 9 a b c d e f` do 
  for j in `echo 0 1 2 3 4 5 6 7 8 9 a b c d e f` do
    echo -n "$i$j " mkdir $i$j
  done
done

Labels: cheatsheet, linux.