Meta Server Fault
Stack Overflow Careers
to customize your list.
more stack exchange communities
Start here for a quick overview of the site
Detailed answers to any questions you might have
Discuss the workings and policies of this site
Appending output to a file at the same time truncating it to N lines
I'm trying to find a simple way to append/write to a log, while at the same time keeping it the log trimmed to a reasonable size. I would prefer to not just append files forever, and then have to have ...
Sep 2 '10 at 19:35
newest append redirect questions feed
Hot Network Questions
Can any magic besides the Sorcerer's Stone or Horcruxes delay death?
How big would a pair of wings need to be to allow an adult human to fly in a given environment?
What is water temperature after electric kettle switches off?
Investing small amounts at regular intervals while minimizing fees?
Omission of 'fasting' in Mark 9:29
What was Avraham Avinu's mother's name?
What is the white film on my wet carrots?
How to draw the cards of a deck?
iPhone hotspot prioritized over ethernet
Shell script written in a different shell than what my current shell
How to make users cut down on profanity in a community, where profanity is allowed?
How do I stop attack on my email id from hackers?
Looking for an old (50s?) story about a better mousetrap
How can native English speakers read an unknown word correctly?
Alternative expression for "xyz Nazi"
Check if two lists are equal in any order
Locking up a DC motor with constant supply a bad thing?
How can one derive Schrödinger equation?
Ship of Theseus applied to GPL - Can I relicense my program if I replace all of the derivative parts?
How to check that component is multimedia component in Tridion GUI extension?
How to show this series diverges
How far were women able to advance in the Gestapo?
The case of the imaginary VASI
How could I have dropped out of sudoers?
more hot questions
Life / Arts
Culture / Recreation
TeX - LaTeX
Unix & Linux
Ask Different (Apple)
Geographic Information Systems
Science Fiction & Fantasy
Seasoned Advice (cooking)
Personal Finance & Money
English Language & Usage
Mi Yodeya (Judaism)
Cross Validated (stats)
Theoretical Computer Science
Meta Stack Exchange
Stack Overflow Careers
site design / logo © 2014 stack exchange inc; user contributions licensed under
cc by-sa 3.0