Generate 91 files from file_10.txt to file_100.txt of size 10 Byte to 100 Byte

1. Using truncate command

Command Output

Reference:

  1. loop in bash : https://www.cyberciti.biz/faq/bash-for-loop/
  2. truncate command : https://linoxide.com/use-truncate-command-linux/
  3. Another way: https://gist.github.com/fduran/f678b4b67f559ad505d8