Arrange long Command Output in Columns21 Feb
There's this one command whose output you need to look at again and again.
It's a long list of short words and whizzes by too fast and using your terminal's
scroll function is cumbersome.
Of course there's
less, but that is cumbersome, too!
Searching the web for a solution only leeds t...
Convert man pages to HTML with the Ansi Html Adapter (aha)11 Dec
I was having a hard time trying to find a man-to-html converter that does what I want: just properly translate the little formatting that man uses. What I found (groff, troff, roffit, man2html) seemed to be either outdated (using inline- or even html-styling) or buggy or simply unable to preserve ma...
Download all files of (a) certain type(s) from a website16 Feb
If you get a "Forbidden" error for certain folders, it might help to start at the root of the site.
wget --recursive --no-directories --level=2 --accept pls,PLS,m3u,M3U \ --reject "*32.pls","*24.pls" \ http://somafm.com/ ; rm robots.txt
This will download all playlists for all s...
Bash prompt and Icon font09 Feb
However, powerline itself seems far too convoluted for my needs, and even after studying the docs...
Recursively Find (and delete) Files Containing a Certain String28 Sep
Start searching from the current directory, down into all sub-directories, for files named "filename". Found files are checked if they contain "searchstring". If they do, they will be deleted.
But we will first check what find finds before allowing it to delete anything:
find -name "filename"...