#Bash

2026-01-31

Ich schlage mich gerade mit #ffmpeg herum. So unfassbar toll ich dieses Tool finde, genau so komplex ist es, wenn man mit mehreren Audiospuren zu kämpfen hat und alles in eine Kommandozeile packen muss.

Die Kommadozeile mit den Parametern erstellt mir ein
#Bash Script. Trotzdem hängts momentan immer mal wieder irgendwo ​:ablobcatnodmeltcry:​

2026-01-31

🚀 Công cụ mới **in‑cli**: CLI Bash nhẹ, không phụ thuộc, giúp chạy lệnh đồng thời trên nhiều thư mục nhanh hơn find/xargs, hỗ trợ thực thi song song. Thử ngay, star repo, đóng góp! #opensource #cli #bash #tool #linux #phần_mềm_mã_nguồn #công_cụ #lập_trình

reddit.com/r/opensource/commen

onokoto █onokoto
2026-01-31

[B̲̅A̲̅S̲̅H̲̅]

⚠️ WARNING: insane hacking the FBI will probably knock on my door by the time you read this

never been a fan of a numeric keypad ー but i decided to use the numlock's LED as a notification system when i get mail ー using xdotool allows you to turn it on and off

~y apt install xdotool

> while sleep 0.6180;do
> xdotool key Num_Lock
> done

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2026-01-30

Current weather for Marienburg SR / SA with the power of wttr.in curl {ba{c{k{z{sh}}}}} and lolcat

Photograph shot with DSLR Nikon using FL Circular Polarizer 81A warming and love

#weather #curl #wttr #bash #csh #ksh #zsh #lolcat #technology #OpenSource #SR #SA #Marienburg #Commewijne

Nick Bergen Computer QuestNickBergenComputerQuest
2026-01-30

@fbfortune Great tip!

In / , you can just type ‘r + Enter’ and it also immediately pulls up the last command and runs it. It’s an alias for ‘hist - s’ or ‘fc -s’

In or , if ‘!! + Enter’ is only expanding the previous command but not executing, it’s because histverify is on. To turn it off, add this to your ~/.bashrc:

shopt -u histverify

——————

shopt = shell options command
-u = unset

2026-01-30

:linux: #bash
Vous connaissez la blague du mec qui met "set -o errexit" au début de son script et qui cherche pendant 20 minutes pourquoi il n'arrive pas à récupérer le code de sortie de ffmpeg quand il fait une erreur ?

2026-01-30

Архивируй жизнь как бэкапы: персональная история и документы в формате git

В какой-то момент я понял, что живу в режиме вечного поиска. Договор аренды — где-то в почте, чеки на технику — в телеге, настройки ноутбука — в заметках, список задач — в пяти разных приложениях, а важные решения — в голове. Я попробовал собрать это как проект: git, структура папок, метаданные, шифрование, хуки, генерация коротких сводок и нормальные бэкапы. Рассказываю, как я это сделал, где облажался и какие куски кода реально помогают поддерживать порядок.

habr.com/ru/articles/991080/

#git #бэкапы #шифрование #автоматизация #bash #python #git_hooks #контроль_целостности #хранение_документов

2026-01-29

currently writing a lot of #bash for work
it's fun

How I know I formed shell-programming habits a long time ago:

Co-worker was trying to put together some OS-level provisioning-automation for a task he was working on. He was asking how to do some things and I was having to go from memory as I didn't have a suitable Linux host to test command-suggestions on. Guy I was talking to said, "it's ok, I can ask Gemini". He took the results of his search and asked me to look. The code was functional, but far from optimal.

First thing I took issue with was "you're piping
grep to awk: if you stick with a piped-grep for what you're doing, you should use cut instead of awk; if you want awk, then you can drop the grep completely". My further plug for cut was that it's much faster, given that it's 1/15th the size of awk.

He tried my suggestion and was like "yeah, that was much faster". I reminded him that
awk is basically a mini language while cut is a very simple tool. And that, for his use-case, while awk will do the trick, it was massive overkill.

Score one for the elderly SA versus Gemini!

#linux
#automation
#scripting
#bash
#grep
#awk
#cut

Statue of John Henry  at the entrance of the Great Bend Tunnel in Talcott, West VirginiaOld Dilbert comic featuring a grizzled UNIX "wizard"

How I know I formed shell-programming habits a long time ago:

Co-worker was trying to put together some OS-level provisioning-automation for a task he was working on. He was asking how to do some things and I was having to go from memory as I didn't have a suitable Linux host to test command-suggestions on. Guy I was talking to said, "it's ok, I can ask Gemini". He took the results of his search and asked me to look. The code was functional, but far from optimal.

First thing I took issue with was "you're piping
grep to awk: if you stick with a piped-grep for what you're doing, you should use cut instead of awk; if you want awk, then you can drop the grep completely". My further plug for cut was that it's much faster, given that it's 1/15th the size of awk.

He tried my suggestion and was like "yeah, that was much faster". I reminded him that
awk is basically a mini language while cut is a very simple tool. And that, for his use-case, while awk will do the trick, it was massive overkill.

Score one for the elderly SA versus Gemini!

#linux
#automation
#scripting
#bash
#grep
#awk
#cutde

Statue of John Henry  at the entrance of the Great Bend Tunnel in Talcott, West VirginiaOld Dilbert comic featuring a grizzled UNIX "wizard"

How I know I formed shell-programming habits a long time ago:

Co-worker was trying to put together some OS-level provisioning-automation for a task he was working on. He was asking how to do some things and I was having to go from memory as I didn't have a suitable Linux host to test command-suggestions on. Guy I was talking to said, "it's ok, I can ask Gemini". He took the results of his search and asked me to look. The code was functional, but far from optimal.

First thing I took issue with was "you're piping
grep to awk: if you stick with a piped-grep for what you're doing, you should use cut instead of awk; if you want awk, then you can drop the grep completely". My further plug for cut was that it's much faster, given that it's 1/15th the size of awk.

He tried my suggestion and was like "yeah, that was much faster". I reminded him that
awk is basically a mini language while cut is a very simple tool. And that, for his use-case, while awk will do the trick, it was massive overkill.

Score one for the elderly SA versus Gemini!

#linux
#automation
#scripting
#bash
#grep
#awk
#cut

Statue of John Henry  at the entrance of the Great Bend Tunnel in Talcott, West Virginia

Well this is certainly a fortune for today...

#bash #fortune #fun #shell

A screenshot of my terminal with a message from `fortune` that reads: "Try to relax and enjoy the crisis."
2026-01-29

January 29, 2026

After a while the days seem the same. I'll be glad to get out again. Maybe next week. Finished Orbital by Samantha Harvey. Next up, Storm Front. DeOxit my Pioneer HiFi amp. Work on Libre Indie Archive. I'm learning lisp! Running clisp in bash and reading Practical Common Lisp. Fun!

Practical Common Lisp
gigamonkeys.com/book/

#journal #discord #HairyLarryLand #books #bash #lisp #cabinfever

Lifestyle Lottofeerenao@ruhr.social
2026-01-29

@defrostx Ja, das kann ich in gewisser Weise nachvollziehen.

Ehrlicherweise wirst du die damalige Effizienz auch nicht mehr in einem aktuellen Windows-Betriebssystem erreichen können 🙂

Da ich arbeitsbedingt viel mit #PowersShell zu tun habe, werde ich interessehalber auch einfach mal ausprobieren, wie gut pwsh unter Linux wirklich funktioniert und wie weit man da kommt.
Die #bash ist ja dennoch weiterhin da und ein um Längen besserer Fallback als #cmd 😅

Eugene :freebsd: :emacslogo:evgandr@bsd.cafe
2026-01-29

@radhitya

> And writing a systemd unit is pretty easy, contrary to the old bash script mess.

Lol, when I was in uni and learnt an OS course, we had a special semester dedicated for #bash scripting with assignments and final exam. With this: tldp.org/LDP/abs/html/ — as a workbook. It was mandatory in the CS/CE (mostly concentrated on the Computer Engineering) bachelor curriculum.

Looks like in the "modern world" people doesn't have such courses to learn the Unix internals? :drgn_sigh:

Also it isn't a "mess" it is a "Linux distros failed to standardize something like rc.d framework to use it in each distro" :drgn_roar_angry:

2026-01-29

AI 에이전트에게 bash만 주면 될까, Vercel과 Braintrust의 실전 테스트

AI 에이전트에게 bash만 주면 충분할까? Vercel과 Braintrust가 실전 테스트한 결과, SQL이 압도적 우위를 보였고 하이브리드 접근법이 가장 안정적이었습니다.

aisparkup.com/posts/8653

2026-01-29

Coding tip for when you have a long file with a miniature preview in the editor: break it up visually with large, visible ascii art titles!

On Linux, I use 'tiolet' (lol) in this script:

toilet -t -f bigmono12 "$1" | xclip

This puts nice chunky ascii-text into my middle-click paste. Then I plonk that into my code. See attached screeny.

🦇

#Linux #Bash #Dev

Screenshot of the mini-code-map in Godot Editor. It shows a section of the listing with large section titles that are legible: Frames and Gui Input.
2026-01-29

Just learned a bash trick.

~- means "the directory you were in before this one"

So, if you want to copy a file from mercury and you are in jupiter:

mercury$ ls
ufo
mercury$ cd jupiter
jupter$ cp ~-/ufo .

Kind of neat. Use with caution!

🦇

#Bash #Linux

Stephen Blumstephenblum
2026-01-29

Bash shines for workflows, not full apps; coordinate tools and APIs.

Ross of Ottawaottaross
2026-01-28

Hmm: zsh or bash? Mac pushes you towards the former, but I usually resist.

I've always worked with the latter, but is it worth changing? I see some articles claiming zsh does some fancy stuff.

Not sure how much of my stuff will break. I've been avoiding all dev-related work for the better part of a year.

Maybe that's a good time to change?

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst