Tagged Questions
2
votes
3answers
5k views
Remove first N lines from an active log file
Is there a way to remove the first N lines from a log that is being actively appended by an application?
0
votes
5answers
171 views
What is the shortest most readable way to print the n'th line of a file?
Its about Unix and Linux.
Yes, there are many solutions to that, e.g. see http://mywiki.wooledge.org/BashFAQ/011. Some of them are fast as hell (not reading the whole file) and some are slow but ...
1
vote
1answer
801 views
How to make a new file on Windows in CMD?
I need a .cmd file that creates a new type of file when I click it. Is this possible? For example:
Click .cmd file
CMD pops up asking what file do I want to create...(eg: .css, .html)
Then creates ...