#bash

26 posts · Last used 18h

Back to Timeline
dewomser
@dewomser@social.tchncs.de · 18h ago
#Linux #Bash #w3m WWW-Suchseite durchsuchen und sortieren nach verschiedenen Kriterien. Beispiel ist die Webseite der Stadt Worms Suchwort ist Fahrrad. Nach Vorkommen gelistet 4 Fahrrad 2 Radtouren 2 Radfahren 1 RheinRadeln 1 rheinradeln 1 Radverleih 1 radverleih … https://gist.github.com/dewomser/9f44d50dd1515abb894f828827b04a26
0
0
5
dewomser
@dewomser@social.tchncs.de · 3d ago
#Linux #Bash #vulnerability verhindern Auf Sicherheit achten, oder die hacken sich ein und erpressen :bitcoin: Verschlüsselung mit rot13 Entschlüsseln mit rot13 Es ist ein Einzeiler für beides, https://gist.github.com/dewomser/084cecfa45d18e1e00df5be6882e48b4 Gegen den überzogenen Sicherheitswahn und die Securityindustrie ! Bin gerade am Überlegen ob ich ein Praxisseminar anbeten soll.🤔 :tux: 👍
0
0
0
stefano
@stefano@mastodon.bsd.cafe · 4d ago
Announcing BSSG 0.41.0 Caching is now working, several fixes are in and you can now hide the header menu, the estimated reading time and other things. https://blog.bssg.dragas.net/2026/06/14/announcing-bssg-0-41-0-several-improvements/ #BSSG #SSG #Bash #OwnYourData
13
2
6
dewomser
@dewomser@social.tchncs.de · Jun 02, 2026
#Linux #Bash 𝐃𝐀𝐒 𝐁𝐀𝐒𝐇𝐌𝐄𝐍𝐔𝐄 Lieblingsapps & Kommandos als Liste ausführbar. 20 Zeilen Skript . Kommentiert. Neues Release 26.06.02 https://gist.github.com/dewomser/915957a7f3ed2d6cceca661f2301be1c
1
0
2
dewomser
@dewomser@social.tchncs.de · 6d ago
#Linux #Bash Bildbearbeitung Magick Test Parameter North und South
0
0
0
UmWerker
@UmWerker@hachyderm.io · 6d ago
Erst vor zwei Tagen #Manuskript installiert, war darin bereits ein Übeltäter versteckt. Das #bash-Skript legte dies offen. Eine erste Überprüfung lies nicht erkennen, dass die eigentliche #Backdoor schon nachgeladen wurde und aktiv ist. Ich wollte nun mit #ClamAV sicher gehen, doch die Installation ist mir viel zu kompliziert. Daran scheitere ich kläglich. Schon Schade auf Sicherheit zu verzichten, weil deren Nutzung maximal erschwert wird. #Arch #Linux #ArchLinux #AUR #Rootkit https://discourse.ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577
0
0
0
dewomser
@dewomser@social.tchncs.de · 6d ago
#Linux #Bash Array -> zeilenweise in Datei -> Array echo -e "a\nb\nc" >lolo.txt readarray -d "\n" x <<< $(< lolo.txt) echo ${x[@]} Eine Möglichkeit von vielen. Aber diese gefällt mir gerade an besten.
1
0
0
reeeen
@reeeen@norden.social · Jun 09, 2026

Heute gelernt: Ctrl+R im Terminal ist nicht nur ein nettes Feature, sondern reine Lebenszeit-Ersparnis. 🔍

Statt zum dritten Mal denselben kryptischen tar-Befehl aus dem Gedächtnis zu kramen, einfach rückwärts durch die History suchen. Tippst “tar”, findest deinen alten Befehl, Enter. Fertig.

Mein Hirn dankt es mir – und merkt sich jetzt wieder unwichtigere Dinge. 😄

Welche Shortcuts nutzt ihr ständig?

#Linux #Terminal #Bash #FreieSoftware

15
0
10
fastfinge
@fastfinge@fed.interfree.ca · May 18, 2026
This was invented for #AI. However, I'm finding it really nice for screen readers: RTK rewrites output from chatty terminal commands that produce a lot of output, often in complex tables, in order to make the output 80 to 90 percent shorter. Just put rtk in front of the command you want to compress. So "rtk git status" instead of "git status". And you can be sure the compacted output is correct because it's just using regular expressions and deterministic rules under the hood to rewrite output from the tools it knows about. If it doesn't know about a particular command, it just passes the output on unchanged. github.com/rtk-ai/rtk Now I've got to figure out how to wire this up in #bash so it'll just happen without me typing rtk all the time. #a11y #screenreader #accessibility #commandline
16
1
17
hannaB
@hannaB@social.vir.group · May 06, 2026
Bash scripting remains the quiet workhorse of sysadmin automation, yet too many production scripts treat error handling and portability as afterthoughts. If your script can't survive a missing variable or a quirky filesystem, it's not automation - it's a time bomb. Do the work: set -euo pipefail and test on more than just your dev machine. #bash #sysadmin #devops
1
0
0
askubuntu
@askubuntu@ubuntu.social · May 04, 2026
How can I run a command using only the P or E or LPE cores on my Intel laptop? #bash #intelcpu https://askubuntu.com/q/1566412/612
0
0
0
askubuntu
@askubuntu@ubuntu.social · May 02, 2026
how to delete directories that all start with dir... using bash scripting or any command with the right options #commandline #bash #scripts #cron https://askubuntu.com/q/1566341/612
0
0
0
cark
@cark@social.tchncs.de · Apr 30, 2026

RE: @cark@social.tchncs.de

#TIL You can copy or rename files without retyping the path:

❯ cp /your/long/path/config.toml{,.bak}

This expands to:

cp /your/long/path/config.toml /your/long/path/config.bak

Works also with echo (nice for testing).

Thanks to @irom@social.tchncs.de for recently pointing me in this direction. 👍️

#bash #linux #cli

Quoting
CarK :python: @cark@social.tchncs.de

In bash you can create multiple (nested) directories with a single compact line:

❯ mkdir -p a/{b,c/{x,y},d/{e,f}}

❯ tree
.
└── a
├── b
├── c
│    ├── x
│   └── y
└── d
├── e
└── f

Open quoted post
69
6
57
dima
@dima@dol.social · Apr 15, 2026
I recently discovered ntfy.sh and it is brilliant in its simplicity. I am currently rewriting my bash scripts to drop AWS SNS in favor of it. Getting a direct push notification to my phone (and not only this) via a simple curl command is so much cleaner than setting up IAM roles and SNS topics. I still absolutely love email as a primary protocol, but my inbox really does not need to know every single time a cron job finishes successfully 😅 #SelfHosted #Bash #DevOps #Linux #ntfy #HomeLab #AWS #Fediverse #Linux
8
6
7
askubuntu
@askubuntu@ubuntu.social · Apr 08, 2026
Ubuntu Server WiFi (USB adapter) does not reliably recover after router restart — network becomes unstable despite cron watchdogs and autoconnect #networking #server #bash #networkmanager #cron https://askubuntu.com/q/1565543/612
1
0
0
ErHaWeb
@ErHaWeb@phpc.social · Mar 06, 2026
🧩 I’d like to share my #Bash script that makes the initial setup for contributing to the #TYPO3 #Core easier. https://gist.github.com/ErHaWeb/037ab7b1d65a2781c2d830d0cf60359d Maybe it’s useful for other contributors. I’d really appreciate your feedback! 🙂 #OpenSource #Contribution
7
2
5
askubuntu__dup_31630
@askubuntu__dup_31630@ubuntu.social · Mar 04, 2026
Linux "system()" function and signals (specifically ^C) #commandline #bash #kubuntu #c++ #process https://askubuntu.com/q/1564546/612
0
0
0
guiadeti
@guiadeti@flipboard.social · Feb 26, 2026
0
0
0
In reply to
the_roamer
@the_roamer@mastodonapp.uk · Feb 26, 2026
@ajlewis2@social.vivaldi.net @stefano@mastodon.bsd.cafe Useful recommendations in this thread. Bookmarked and hashtagged for future reference! #bash #shell #shell_intros
2
2
0
dewomser
@dewomser@social.tchncs.de · Feb 21, 2026
#Linux #Bash Jetzt noch schnell Lotto spielen und dir fallen keine eigenen Zahlen ein ? Hier kommt der Tipp Das Bash-Skript macht keine Voraussage ! https://gist.github.com/dewomser/47d97ba9716c46e690c1c5aac6d6bd84
1
0
1