< Notes...

“there really are no uninteresting things...”

Found 5 notes tagged as “unix”, as shown below. All notes in chronological order.

See all available tags...

ageing1 amazon4 apple46 appletv3 best8 birthdays7 claudine13 cryptography4 css4 elders1 family5 finances1 fonts7 food12 friends10 games32 github1 google15 help5 horsie25 html3 hugo18 hulu4 humans13 humour19 interesting2 japan21 kdramas7 lawn7 life2 llm22 manga9 martin3 me67 memes1 movies32 mum13 music3 netflix14 nyc8 paramount1 philosophy6 politics58 prime2 quotes1 random31 rants39 re5 selfhost5 series37 social13 staticgen5 tech106 tesla1 themet4 thoughts34 tubes46 unix5 via25 videos7 weather11 woodblock4 work17 wwdc3

03 Oct 2025 @ 14:44:20

Well, well, well. It is possible, after all, to create a /boot partition on software RAID10, and been able to boot from it just fine—something I tried many times, and couldn’t do. It turns out you need to flag each drive as a bootable disk, before carving out partitions, and creating the RAID10.

tech unix
14 Aug 2025 @ 07:53:27

This section from the NetBSD man page for the sleep command cannot be funnier, yet completely valid. I mean, quite useful if you have the time, right?

BUGS

     This sleep command cannot handle requests for durations much longer than
     about 250 billion years.  Any such attempt will result in an error, and
     immediate termination.  It is suggested that when there is a need for
     sleeps exceeding this period, the sleep command be executed in a loop,
     with each individual sleep invocation limited to 200 billion years
     approximately.
tech unix
17 Jul 2025 @ 15:29:23

Hashing known_hosts is a good idea, as it reduces the amount of information an attacker will collect, if/when (ha!) your machine gets compromised. Usually, a line on the known_hosts file looks like this:

less ~/.ssh/known_hosts
...
tilde.team ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1zw6+VOW8L4Rr3swbUVju3GGcknaV/fyhSJwH7NLfu
...

After running ssh-keygen -H it will look like this:

less ~/.ssh/known_hosts
...
|1|c6NiIH06AidrkPUman0oPEx6+6Y=|rPhYjXlkLgYaNR8jwaNMy7mur4I= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJsJP1XDyRhEPdtgBeXYm2hf4GKG9aLlqA1+ZPgBadbl
...

That’s it! Oh, and don’t forget to add to your ~/.ssh/config the following, so that future entries are hashed as well:

Host *
	HashKnownHosts yes
tech unix
09 Jul 2025 @ 17:42:28
grep -i passwd *.log | awk {'print $7'}
...
/etc/passwd
/..%5c..%5c..%5c..%5c..%5cetc%5cpasswd
/....//....//....//etc/passwd
/..%2f..%2f..%2fetc%2fpasswd
/.htpasswd
/config/.htpasswd
/.env.passwd
/backup/.htpasswd
...

With almost 2,000 different tries—of which the above is a small sample—it seems someone is hell-bent on finding a passwd of some sorts. I don’t have one, OK?!

tech unix
27 May 2025 @ 17:21:17

I miss terminal based applications. Old database driven applications that were usually accessed via VT100 terminals, and later on via IBM 3270, or emulated software, like TN3270, to access IBM mainframes. I wonder if they will ever make a return (no mainframes needed this time, of course).

Hmm, is this a sign of crossing—or having crossed—a certain age threshold?

tech unix