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:

210
active users

#shell

10 posts10 participants3 posts today

Readline has a lot of useful command history functions that largely obviate the need for traditional history expansion in Bash.

Some features remain useful like quick substitution (^ ^) and the current line event designator (!#). In many cases they can be faster than command line editing or cut-and-paste.

Another useful tool is fc (originally ksh). While opening an editor with commands is a surprising approach, it can edit and run a range of history lines at once!

The #myth of #Venus / #Aphrodite says she was born from sea foam & Uranus' genitals. The myth says is that she emerged from the sea fully-grown (that's so you don't ask questions like, how?!)

One of the most famous depictions of Venus's birth has her standing on a giant #scallop #shell. The shell is not really germane to the #myth -- but maybe it still counts for #MythologyMonday?

📷 :en.wikipedia.org/wiki/The_Birt

#GreekMythology #mythology #Myths #GrecoRomanMythology @mythology #Art #MastoArt

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