If you hold shift when you boot your Mac it will boot in safe mode. When you’re logging in hold shift and your apps that normally open at start-up won’t be opened automatically.
Category Archives: Sys Admin
How to mount an Xbox formatted drive on Ubuntu
When I finally get a PCIe IDE adapter that works, this is gonna come in handy: How to mount an Xbox formatted drive on Ubuntu.
The IDE adapter that I have is this one, but it reports all disks as damaged (and they’re not). I think maybe it’s too new for the drives maybe? Speaking a newer version of the ATA protocol? I have no idea really.
whatis command
Today I discovered the `whatis` command. Over here. That is all.
Unix command line conventions over time
This didn’t tell me anything I didn’t know, but I was pleased to read it: Unix command line conventions over time.
On the other end of the spectrum: UX patterns for CLI tools.
Monitoring CPU clock speed
$ watch 'grep MHz /proc/cpuinfo | awk "{ print \$4 }" | sort -n'
Linux system specs
If you want to get a simple report on your linux system’s specifications, try these:
- $ neofetch
- $ inxi
- $ hwinfo –short
Distributed Systems Shibboleths
This via r/programming today: Distributed Systems Shibboleths.
Replace a faulty disk on a Mirrored or RAIDZ virtual device
I have a degraded ZFS array due to too many write errors on one of my disks. When my replacement disk arrives I will follow these instructions to resolve the issue: Replace a faulty disk on a Mirrored or RAIDZ virtual device.
ZFS verification process
The ZFS verification process is called a ‘scrub’ and it is done periodically (usually every few weeks). To report on the status of a scrub in progress use the `zfs scrub` command.
File types In Linux
Today I found myself referring to: File types In Linux/Unix explained in detail. Basically:
- Regular file (-)
- Directory file (d)
- Block file (b)
- Character device file (c)
- Named pipe file or just a pipe file (p)
- Symbolic link file (l)
- Socket file (s)
Also apparently there is a thing called a Door File on Solaris, but, alas, we’re not caring about that.