Need help in creating 10,000 files in unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need help in creating 10,000 files in unix
# 1  
Old 11-07-2008
Question Need help in creating 10,000 files in unix

hi all,
I am an UNIX beginner. I need to create 10,000 .dat files in unix. and first file should have 10102009*1*14,
second file should have 10102009*2*14,
and the 10,000th file should contain 10102009*10000*14,
(Comma is a must at end)
The file name should be US.5518.002.20081001010119.dat. Same file name is ok for all the files. Please help me friends...
# 2  
Old 11-07-2008
Pleas read your assignment more carefully.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Take 100MB worth files from 200,000 Files

Hi, I have a process which creates almost 200K files. Each file ranging from 1kb to 5kb. This is almost 2GB of data in all files. I have a requirement where the business needs only 100MB worth of files. Is there a way to get files around 100MB (doesn't have to be exactly 100MB) from all the... (2 Replies)
Discussion started by: grep_me
2 Replies

2. Shell Programming and Scripting

Listing 000 permission files

Hi all, is there a way to list all files with 000 permission and not get "Permission denied" message? I would like to have names of all those files in one text file. At the moment, i have this " find . -type d \( -name . -o -prune \) -perm 000 > text.txt " and it is not working. Can... (8 Replies)
Discussion started by: bb2
8 Replies

3. Programming

Unix File has 000 access when written

Good day! I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
2 Replies

4. Shell Programming and Scripting

Help removing the prefix of more than 10,000 files

I have more than 10,000 files that all start with "raw_ddd_04_*". How can I remove the prefix on these files in a single command? (8 Replies)
Discussion started by: bbbngowc
8 Replies

5. News, Links, Events and Announcements

Microsoft "Donates" $3,000,000,000 to Feds

Surreal quote from the news link below: http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question