![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Emptying Trash | dave123 | Linux | 0 | 04-05-2008 04:28 PM |
| How to check Null values in a file column by column if columns are Not NULLs | Mandab | Shell Programming and Scripting | 7 | 03-15-2008 09:57 AM |
| identifying null values in a file | dsravan | Shell Programming and Scripting | 3 | 02-12-2008 05:28 PM |
| comparing the null values in the unix | bbc17484 | Shell Programming and Scripting | 11 | 02-12-2008 09:36 AM |
| handling null values in files | ammu | Shell Programming and Scripting | 1 | 11-06-2007 04:43 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Null values after emptying a log file
Hi,
I have a log file which is constantly being written to by some process. I need to clear that log file on a daily basis. The problem is that when I issue this command: echo "" > logfile.log the file gets filled with nulls thus increasing the size of the file. Is there a way to pause/stop the process, then copy the logfile to some name and then clearing the original logfile, then restarting the paused/stopped process? I am doing all this in a shell script. Thanx Regards 2me |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|