Mein kleiner, bescheidener Beitrag zum #diday

CarstenHa/toot2grp: Kleines Programm zum Boosten von Mastodon-Nachrichten. Macht quasi aus einem Mastodon-Account einen Gruppen-Account.

https://codeberg.org/CarstenHa/toot2grp

#dutgemacht #linux #bash #mastodon #raspberrypi

toot2grp

Programm zum Boosten von Mastodon-Nachrichten in eine Gruppe.

Codeberg.org

Want a delay in a bash script. And you don't like to see the sleep command polluting your ps output? Try this:

#!/bin/bash
pipe=$(mktemp -u)
mkfifo "$pipe"
exec 3<>"$pipe"
doSleep() {
read -t "$1" -u 3
}

It opens a UNIX fifo file on file descriptor 3, deletes it immediately so it does not show up in the temporary directory and cannot be fooled around with. The doSleep makes use of the timeout feature of the builtin read command. Have fun sleeping.

#bash #sleep #script #linux

Meteorology

Current weather in Kwamalasemutu SR SA with the power of wttr.in & the grace of
lolcat(6) 🏳️‍🌈 wttr.in curl & {ba{c{k{z{fi}}}}}sh

Background photograph is a wolken dek {NL} composed in Commewijne SR SA

log

$ curl --verbose wttr.in/kwamalasemutu|lolcat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Host wttr.in:80 was resolved.

  • IPv6: (none)
  • IPv4: 5.9.243.187
  • Trying 5.9.243.187:80...
  • connect to 5.9.243.187 port 80 from 10.2.2.137 port 36128 failed: Network is unreachable
  • Failed to connect to wttr.in port 80 after 5691 ms: Could not connect to server0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
  • closing connection #0curl: (7) Failed to connect to wttr.in port 80 after 5691 ms: Could not connect to servermetalloid@krishna:~/gate/audio/raw/flac/αβeats∞$ curl --verbose wttr.in/kwamalasemutu|lolcat% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Host wttr.in:80 was resolved.
  • IPv6: (none)
  • IPv4: 5.9.243.187
  • Trying 5.9.243.187:80...
  • Connected to wttr.in (5.9.243.187) port 80
  • using HTTP/1.x> GET /kwamalasemutu HTTP/1.1> Host: wttr.in> User-Agent: curl/8.14.1> Accept: />
  • Request completely sent off< HTTP/1.1 200 OK< Access-Control-Allow-Origin: *< Content-Length: 9194< Content-Type: text/plain; charset=utf-8< Date: Sun, 05 Apr 2026 01:51:54 GMT< { [2625 bytes data]100 9194 100 9194 0 0 1615 0 0:00:05 0:00:05 --:--:-- 1962
  • Connection #0 to host wttr.in left intactWeather report: kwamalasemutu

`/"".-. Patchy rain nearby
,_( ). +22(25) °C

/(() ↙ 5 km/h

‘ ‘ ‘ ‘ 10 km

‘ ‘ ‘ ‘ 0.0 mm

sources

https://wttr.in [API]

man bash(1)

man lolcat(6)

man xfce4-screenshooter(1)

man thunar(1)

Location: Kwamalasemutu, Coeroeni, Sipaliwini, Suriname [2.3554503,-56.787836]

Z

#Weather #wttr #lolcat #curl #bash #csk #ksh #zsh #sh #fish #meteorology #environment #Physics #Chemistry #Mathematics #Lineair #algebra #technology #OpenSource #programming #POSIX

#Gnu #linux #bash

Vídeo extra del curso de Gnulinux / terminal

https://fediverse.tv/w/eyQrNipZxaMENhJ9UreygC

Abril Curso de Terminal y la instalación de Virt-manager en Kubuntu

PeerTube
Mein neuer bester Freund im Terminal? Die KI! 🐧💻

Ich muss es einfach mal sagen: Bei der Einrichtung und im Terminal hilft mir KI aktuell extrem weiter. Komplexe Befehle verstehen, Configs anpassen oder einfach mal nachfragen "Was macht dieser Flag eigentlich?" – das spart unglaublich viel Zeit und Nerven.

Aber Hand aufs Herz: Ein gewisses Grundverständnis bleibt Pflicht. Man darf nicht jeder Config und jedem Befehl blind trauen, denn unfehlbar ist die Technik leider noch nicht. Wer den Output versteht und kurz gegenprüft, hat aber das ultimative Power-Tool an der Hand. 🛠️

Nutzt ihr KI auch schon als „Live-Support“ direkt in der Konsole oder tippt ihr noch alles klassisch?

#Linux #Terminal #KI #TechSupport #OpenSource #SysAdmin #LinuxTips #Bash #ArtificialIntelligence #Produktivität

Quick question:

Anyone know if Bash has a variable to hold the command line args before they were expanded?

If I type myscript *, $@ holds the expanded list. Is there a variable that holds the '*'?

#Linux #Bash

TIL About Redirection in Bash | Dan [the] Salmon

How to install and enable an SSH Server - Negative PID

In one of our previous articles, we introduced you to SSH authentication and its basic usage. However, you can’t use SSH as an authentication method unless

Negative PID
Shell Tricks That Actually Make Life Easier (And Save Your Sanity) | Larvitz Blog https://blog.hofstede.it/shell-tricks-that-actually-make-life-easier-and-save-your-sanity/ #Bash #Shell
Shell Tricks That Actually Make Life Easier (And Save Your Sanity)

Watch someone backspace 40 characters instead of pressing CTRL+W, and you’ll understand why this list exists. A collection of shell tricks-grouped by what works everywhere and what’s Bash/Zsh-speci...

Larvitz Blog