i have around 700 files and in each file i have to add one line at start of file.i tried writing a script and used seek fucntion to reach to begninning. but some how i m over writing the existing first line. how this can be done effectively
i want to add #something3.cfg at top of file but even i m using seek to reach to top of file i m overwriting first line.