eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

215
active users

#commandline

6 posts6 participants0 posts today

I'm mostly posting this as a way to help myself remember, but:

I have been using the venerable `less` Unix utility for over a quarter century (!) but just today I learned you can view multiple files with it!

less file1.txt file2.txt file3.txt

Use `:n` and `:p` to go to the next/previous file.

TIL that bash allows you to put leading zeroes in ranges and it'll do the correct thing:

for n in {01..10}; do echo $n; done

outputs:

01, 02, 03, …, 10

No more messing about with printf for simple ranges. Wheee!

#linux#shell#bash

Released a new version of om, my command line tool for quickly (un)mounting and safely detaching disks.

There's just one visible change: the new -k / --keep option. Occasionally I want to unmount all filesystems on a disk / thumb drive (also lock encrypted volumes), but not actually physically detach the disk yet. With --keep, om will skip powering off the disk after performing all other steps.

Note to #Nix / #NixOs users: I've created a separate release branch that will only be updated when a new release is published. You can point your flake input at ?ref=release and will always get a "stable" release as opposed to the current development version on the default main branch. I have updated the examples in readme accordingly.

Enjoy 😃

Codeberg.orgomA command line tool to conveniently mount, unmount, (un)lock and safely power off storage devices on Linux with as few keystrokes as possible.

This is rad. It’s a queer digital zine called New Session that’s published via Telnet.

anewsession.com/

Co-founder/editor Cara Esten Hurtle notes:

“The project isn’t just retro novelty—it’s a radical rejection of the addictive social media and algorithmic attention-mining that have defined the modern day internet.”

(Hat tip @404mediaco: 404media.co/queer-online-zine-)

anewsession.comNew Session – TTY Real