I have a system log file which is in text format ! it has many lines day by day !! I want to write a C shell script (*.c) to read in the first 150 lines and store it to another text file "????.log". ???mean the date I type in !! So that I run the script once everyday, I can get the log daily !!
any idea ?