Hi,
>On Fri, Aug 7, 2009 at 2:20 PM, Shrinivasan T <[email protected]>wrote:

> Friends.
>
> For a testing, I want to create some 1,00,000 files to be created.
>
> How to create them?
>
> Or
>
> I have a text file. How to create 1,00,000 copies of the same file?
>
> File Names may have the number i.e  <filename><no>.txt
>
> bash-4.0$ cat create.sh
#!/bin/bash
for i in {1..3}
do
        touch $i
done

Replace the number 3 with your number 1,00.000 :)


-- 
A computer is like air conditioning: it becomes useless when you open
windows.
<-Fighting 4 Freedom->
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to