Other articles


  1. A Quick Introduction to sed(1)

    The sed(1) stream editor is one of the most powerful tools from the classic Unix tool box. It is a close cousin to the ed(1) command line editor and a descendant of the ex(1) editor, the command line mode of vi(1). In this article I'll show …

    read more
  2. Checking Whether a Process Exists

    On Linux/Unix systems, there's occasionally the need to check whether a process is running. Some people use it for simple status checks or when building their own lifecycle scripts for startup and shutdown. I don't think it's a particularly good practice these days because all of this can be …

    read more
  3. Building a Web-Based Java API Search

    From time to time I play with web technologies to keep up with recent developments. While I know my network protocols pretty well, I'm not a frontend developer so I'm pretty useless when it comes to JavaScript or CSS. I believe in learning by doing, so I decided to build …

    read more
  4. Scripts That Just Don't Work

    Sometimes people ask for my help when their shell scripts don't work. I've seen all kinds of problems, ranging from trivial to really, really weird. The one I'm describing in this article is definitely from the weird category, but I've seen it quite a few times.

    The story goes like …

    read more
  5. Quick Tip #4: Sorting Large Files

    With traditional Unix sort(1), the size of the files you can sort is limited by the amount of available main memory. As soon as the file gets larger and your system has to swap, performance degrades significantly. Even GNU sort which uses temporary files to get around this limitation …

    read more

social