J
Joseph
hi i have a log file that it is increasing to big, how can i keep this
file of
a certain size, in other words, how can i make sure that the file is
only 200 lines long and delete the first lines if longer. i think it
would be easier to write this in a shell script. but i have no idea
in perl. can anyone tell me how to print the last 200 lines of a file
and overwrite the ssame file. thanks.
file of
a certain size, in other words, how can i make sure that the file is
only 200 lines long and delete the first lines if longer. i think it
would be easier to write this in a shell script. but i have no idea
in perl. can anyone tell me how to print the last 200 lines of a file
and overwrite the ssame file. thanks.