🤦‍♂️ Ah yes, #Linux is an #interpreter now. Because who needs a perfectly functional kernel when you can make an OS behave like a wannabe shell script interpreter? 👻 Fear not, dear reader, the author promises you an inscrutable command that might just be #malware, but hey, that’s all part of the #fun, right? 🐔
https://astrid.tech/2026/03/28/0/linux-is-an-interpreter/ #ShellScript #HackerNews #ngated
Linux is an interpreter

And why you would want to exec a cpio

astrid dot tech

Mi skribis unu simpla #ShellScript por fari elŝuti de ĉiu senpaga #RaspberryPi revuoj de oficiala retejo.

Kiuj posedas intereso en uzi ĝi, povas recevi ĝi en: https://github.com/A-Infor/Shell-Scripts

Here's a little puzzle for you. Can you figure out the purpose of this one-off shell script I just wrote?
If you post an answer put it behind a CW so you don't spoil it for others!
#programming #scripting #shellScript #shellScripting #Linux
Bash Via Transpiler

It is no secret that we often use and abuse bash to write things that ought to be in a different language. But bash does have its attractions. In the modern world, it is practically everywhere. It …

Hackaday

And today's multi-hour confusing time suck was:

`curl -H "Authorization: ${TOKEN}"`

(Note conspicuous lack of the word `Bearer`)

To add #insult to #injury, this old #Perl guy had to dig into some #PHP in order to figure out where his stupid #shellscript went wrong.

On the other hand, I did gather enough #research to propose a #solution to #decommission a piece of #commercial software in favor of a mix of #cloud services and #selfhosted #opensource.

CLI siêu nhẹ dùng Ollama chuyển ngôn ngữ tự nhiên thành lệnh shell, mặc định qwen2.5-coder, dễ chuyển mô hình bằng `--model`/`ASK_MODEL` và `OLLAMA_HOST`. Thích hợp cho dev muốn nhanh chóng biến mô tả thành câu lệnh. #Ollama #CLI #Shell #AI #Programming #LậpTrình #CôngCụ #AIVietnam #ShellScript

https://www.reddit.com/r/ollama/comments/1qoi1op/tiny_ollamapowered_cli_natural_language_to_shell/

Muita discussão interessante rolando no fidigerson e eu... há três dias tentando recuperar um arquivo.   
Provavelmente a parte de recuperar é a mais simples. O difícil é encontrar o diacho do arquivo numa montanha de arquivinhos... Fiz logo um script shell pq a quantidade tá brutal.

#testdisk #photorec #recuperaçãodearquivos #shellscript #shell #bash

🚀🕰️ Ah, the #nostalgia of square brackets in shell scripting—the forgotten relics of our #coding youth! 🤓📚 Luca Ferrari takes us on a time-traveling adventure to rediscover the ancient art of 'test,' proving once again that some people will do anything to relive their university glory days. 🎓💾
https://fluca1978.github.io/2025/12/10/testAndSquareBrackets.html #test #shellscript #retro #tech #HackerNews #ngated
Test your square brackets!

A shell story about how to test things when doing scripting.

Linux Fu: Yet Another Shell Script Trick

I’m going to go ahead and admit it: I really have too many tray icons. You know the ones. They sit on your taskbar, perhaps doing something in the background or, at least, giving you fingerti…

Hackaday
×
Here's a little puzzle for you. Can you figure out the purpose of this one-off shell script I just wrote?
If you post an answer put it behind a CW so you don't spoil it for others!
#programming #scripting #shellScript #shellScripting #Linux
@jik You've taken a booklet apart, scanned the individual sheets (which are all out of sequence, eg: front and back are the same sheet), and want to reformat it into individual numbered pages?
@sundew Exactly right. It was a new "guide to benefits" for one of my credit cards. I removed the staples from the booklet, opened it flat and scanned it to a PDF, extracted the images from the PDF, ran this script over them, and used `convert` to put the split and reordered images back into a new PDF.
Now that I'm using #PaperlessNGX I'm obsessive about not hanging onto any paper that I can digitize, so I end up going through the effort to do stuff like this.
@jik Awesome! Thanks for sharing. ^^
@jik
I don't know the netpbm tools, but it looks like you have a collection of images where each one is of two pages, and you're splitting them into the individual pages. The backat variable makes me think that what you have are the unbound folio pages, where the originals are page 1 next to page N, and on the back of that, page 2 next to page N-1, etc. That's all I'm going to guess at with a few minutes of looking at it.
@kink Exactly right! I explain more here in response to another correct response: https://federate.social/@jik/116110346043545248
@jik I’m old and haven’t written code for a living in quite a while, so kinda chuffed that I sorted that out, tbqh. Thanks for providing that moment.
@jik My best guess: you're collating a sorted list of full-page images, so that when you print them out and fold them together, they appear in the original order across both pages.
@hjhornbeck Close, but the reverse. See the other replies. 😉
@jik Starting with a disassembled staple-bound magazine, where each image file covers both front and rear pages in a single image, split each image into two, and number the resulting image files so they can be viewed in the original order.
@jik Bash isn't like Perl. It's not a write-only language. It's quite readable.
@targetdrone IMO If you find a particular Perl script unreadable, the problem isn't the language, it's the author of the script. 🤷