Markdown to html on the terminal

terminalIf you are well-versed in markdown, you don’t need a fully-blown editor with preview to write in markdown. For example, I am writing this article using vim. However, to post the article I need to convert it to html. Many web based markdown editors support that. Today I came across an easy to use python module which does the same. Continue reading Markdown to html on the terminal

Safely remove drives from terminal

diskHave you noticed that different file manager apps provide different options to remove drives? You probably have sees the options unmount, eject and safely remove drives. In this article we’ll explore these options briefly and then hack a way to safety detach removable USB disk drives from a Linux system. Continue reading Safely remove drives from terminal

wttr: weather from the terminal


Many of us have the habit of checking the weather every now and then. There are excellent weather indicators, Typhoon or cmdline wego and weather-util. Turns out there’s another way to get the same (but static) wego output in the terminal. And that too without installing any utility other than your pre-installed download tools. Continue reading wttr: weather from the terminal

Fix brightness issues on Manjaro

manjaro_compI am using Manjaro LXQt for a while now. My laptop is a Sony VAIO SVS13112ENB with Intel i915 graphics. The brightness keys wouldn’t work out of the box. To fix it I used the same scripts from Ubuntu and attached them to the brightness up/down keys. Those worked but I noticed two more issues with the procedure. Continue reading Fix brightness issues on Manjaro

Grep binary files on Linux

hacker_compWe explored techniques to search a binary file using grep in an earlier article. However, we could only search ASCII strings using grep. In this article we will explore some powerful utilities which can perform ascii as well as hexadecimal string search on binary files. Continue reading Grep binary files on Linux

buku & xsel: add selected or copied URL as bookmark


buku is a powerful cmdline Python3 SQLite3 bookmark management utility. buku v1.8 adds the capability of handling piped input. Besides the obvious, this adds the possibility of adding bookmarks from anywhere in your system to the buku database. On Linux, copied text or mouse selected text can be added directly with a shortcut. The other tool you need is xsel. Let’s try it out! Continue reading buku & xsel: add selected or copied URL as bookmark

TLDR: man, abbreviated.


Do you find the man pages boring to read? Do you <Shift-g> to the end hunting for some real usage examples? Probably many Linux users do the same. Sometimes it makes sense, when you don’t need to re-understand the wheel. That’s why you should try the TLDR pages. Continue reading TLDR: man, abbreviated.