I find I’m always repeating certain command lines with subtle changes. If the changes can be predicted, why not use a variable instead? Here’s how:
I have to go digging this one up every time I need it. I just can’t remember what to type, so here it is plain and simple.
The humble Aluminium (aka Aluminum) can. How it’s made, and other stuff you just didn’t know about it.
I had a file that had a single line of output that needed a newline added for readability. I do this in Ubuntu regularly, but when I tried it on the mac I just couldn’t get it right. It seems it’s broken and this was how to get around it.
I am a fan of TED presentations especially when they’re well presented like this one. I’m sure that Sheldon would even get a kick out of this one and possibly learn a thing or two.
I was running concurrent hashes of two physical drives and I usually redirect the output of the hashset to a file so that I can then run an audit on it at a later time.
But my system has appeared to stall on one file. Or has it? What is it doing?
Every now and then you come across a folder (or in my case, a network share) you want in your finder sidebar. Normally dragging and dropping it into place is enough, and that SHOULD work. But sometimes it doesn’t.
How to setup BASH custom prompt in Ubuntu I wanted two things: the time in my prompt a colour prompt Basics: it’s located in: ~/.bashrc uses Environment Variable: PS1 time is inserted using: \t time I started here: http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html colour http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/ PixelBeat discussion on coloured command prompts http://www.pixelbeat.org/docs/terminal_colours/ how to guid for customing the command prompt […]
For vdevs in zpools, the optimal number of redundant drives can be calculated by the attached table.
I did this in several steps: create an md5 dump of the files system in question. For this I used my favourite command line tool `md5deep`, sort the file based on file size then md5 hash (sorted from largest to smallest), and remove entries that are not duplicate entries. Although this could be completed in […]