Tag: Linux
-
Apply ZFS driver settings without reboot
Apply your modprobe.d values without rebooting: egrep -v ‘^#|^\s*$’ zfs.conf \ | while read L; do M=($L) N=${M[2]} P=(${N/=/ }) echo “${P[1]}” > /sys/module/zfs/parameters/${P[0]} done #zfs #linux #bash
-
lsblk trick
Here’s a fun trick to list the serial numbers and sizes of your hard drives: $ lsblk –nodeps -o name,serial,size NAME SERIAL SIZE sda 50026B77640B3E09 223.6G sdb 50026B77640B4B39 223.6G sdc YGGU3EZD 1.8T sdd W1E15D5G 1.8T sde W1E16ACY 1.8T sdf W1E16BJB 1.8T sdg W1E5W99Y 1.8T sdh YFGR1V3A 1.8T
-
Updated Bash CPU Meter
In August, I did a post on a pretty simple bash cpu meter. This one is still Intel-only, but is records the range of frequencies used during a report. #!/bin/bash COLWID=17 MAXTURBO=4200 function find_lines { local i=0 local j=0 while read line; do if [[ $line =~ cpu\ MHz ]]; then cpu[i]=$j ((i++)) fi ((j++))…
-
Fixing file-system corruption (freedompenguin.com)
Here I start a series of posts talking about my home workstation getting file system corruption.
-
Emulating Web Browsers
Here’s a tedious task for you to consider. When you log-in to your favorite website these days, you’re creating a JSON document and posting it to the service you’re logging into. Long gone are the days when you just posted simple form parameters from a whole post. I work on an emulation platform: one of…
-
Backing up with tar or rsync? [Freedompenguin]
There’s a decision to make when you want to write your scripts when it’s time to back things up: use tar or rsync?
-
Making Backups of What’s Recent
You probably don’t need to backup your whole hard drive every day. Just back up what you changed recently.
-
Thot on Linux Video Editing
The other night I ran thru what might be the gamut of video editors because kdenlive was crashing on me. I’m going to run down this list. Openshot: am finding it doesn’t import clips and align tracks to base audio comfortably. Did not like having to right-click-properties for fade-in, fade-out this and thats. Pitivi: gave…