Ive had to do this more than I care to mention. I should really know it by heart now, but the short version is: boot into the grub menu and select advanced options head into recover mode drop to root shell prompt you’ll need to remount the filesystem that is currently read only:mount -o rw,remount \ change […]
According to quite a few users on Stack Exchange, Ubuntu doesn’t cache DNS queries, but I got into an awkward situation where I couldn’t hit an internal server because my installation was convinced my internal server was being hosted on an external IP. It wasn’t entirely incorrect, because the server is (sometimes) available externally, but it’s only […]
My tar ready reckoner, because I ALWAYS have to look it up!
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 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?
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 […]
I found 4x old 750GB hard drives from 2008 which came up as ZFS when I installed them into a new ubuntu system on an old box. I installed ZFSonLinux (specifically ubuntu 14.04), samba (smb) and SSH (OpenSSH) and set to the task of re-creating the volume. Essentially, it was very painless… except for a couple of hours in there one of the power cables had come off one of the raid drives and it took a fair bit of diagnoses to get it sorted. In the end. I resilvered 1.3TB of data and set to the task of working out whether I should delete it or back it up to my new RAID… This is how I did it.