Some program could not handle interfacing files which contains null characters and has often causes support people lots of run around to find the cause. A simple way to identify the locations of null characters in a flat file is by using the following command. Works well each time for me. 🙂 tr ‘\0’ …
Category: Problem Solved
PuttyCM – Object reference not set to an instance of an object error
I was recently introduced to PuttyCM and am hooked to it till now. Just a while ago while I was making some changes to the config and all of a sudden I could not access the software. Unexpected Error “object reference not set to an instance of an object” shows up and I can’t seem …
Extract first 100 lines from a file in UNIX
I was tasked to get first 100 lines of records from a database dump. While searching big brother G, I found the solution here:- how to extract a range of lines from a file provided by zazzybob. Here’s the solutions:- You could also pipe though sed to extract the range – e.g. blah | sed …