“cut” — A Soft Scissor For The Terminally Nerdy

cut -- the column extractor from a line of text might sound plain, but when combined with other text processing tools such as grep and sed, its role is anything but plain. Let's take a look at its elemental operations. Cut by Character Cutting specific characters from a line of text is achieved via the … Continue reading “cut” — A Soft Scissor For The Terminally Nerdy

“basename” — Tell Me The Last Bus Stop

Few commands exist in Linux (and other Unix-derivatives) for the sole reason of aiding scripting and writing one-liners. basename is one of the little-known commands in that pack (at least for me). Since working in Linux usually translates to working with files, basename becomes extremely handy when meandering long directory paths to access the files. … Continue reading “basename” — Tell Me The Last Bus Stop