Display last few lines for a file in linux shell
To display the default last 10 lines for a file… To display a specified no of lines for a file…
To display the default last 10 lines for a file… To display a specified no of lines for a file…
‘Premature end of scrip headers’ error message refers to the script being stopped for whatever reason before it actually return any output to the browser. The first time to check…
Recently came across a problem whereby the quartz scheduler could not recreate a new log4j FileAppender log when the job is call again. Googled a bit and found out a…
I noticed that some of the computer which I remote desktop to, could not be shutdown or restart. Instead of the normal shutdown or logoff, you will see a log…
Here’s the code snippets to display the number of running threads in your java program. It’s good to use it to track your resources.