copy file and rename n times in succession
I have this:
#!/bin/bash
#copies named iax modem and saves in ensuing order
cp /etc/iaxmodem/iaxmodem-cfg.ttyIAX20 /etc/iaxmodem/iaxmodem-cfg.ttyIAX21
But would like to create the contents of iaxmodem-cfg.ttyIAX20 n more times and name 22, 23 24, etc
|