-rw-r--r--. 1 root root 2.1G Feb 21 16:00 SMSCDR_POSTPAID_160221150000 +_10.102.39.37_AS.log -rw-r--r--. 1 root root 1.5G Feb 21 17:00 SMSCDR_POSTPAID_160221160000 +_10.102.39.37_AS.log -rw-r--r--. 1 root root 2.3G Feb 21 18:00 SMSCDR_POSTPAID_160221170000 +_10.102.39.37_AS.log -rw-r--r--. 1 root root 1.7G Feb 21 19:00 SMSCDR_POSTPAID_160221180000 +_10.102.39.37_AS.log
I have written a program to process these files for some counters. That program is OK. But now I want to know which line is processing now in the file. For that I cant print it on terminal because it is running in cronjob. and I cant maintain log files for just line number. What are the best practice for these????
In reply to Want to know Line number of the input file by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |