A 6502, In The Shell - Shell scripting is an often forgotten programming environment, relegated to simple... - https://hackaday.com/2025/03/17/a-6502-in-the-shell/ #microcontrollers #softwarehacks #shellscript #linuxhacks #shell

A 6502, In The Shell - Shell scripting is an often forgotten programming environment, relegated to simple... - https://hackaday.com/2025/03/17/a-6502-in-the-shell/ #microcontrollers #softwarehacks #shellscript #linuxhacks #shell
How To Replace Text In Multiple Files Using A Bash Script In Linux #Bash #ShellScript #Linux #Linuxcommands #Linuxhowto #Linuxbasics
https://ostechnix.com/replace-text-in-multiple-files-using-bash-script/
Linux Fu: Use the Source (Command), Luke - You can argue if bash is a good programming language or not, but you can’t argue t... - https://hackaday.com/2025/03/13/linux-fu-use-the-source-command-luke/ #hackadaycolumns #shellscript #linuxhacks #linux #bash
Gotta say, I wish #bash had local
/ lexically-scoped functions, rather than having to rely on hacks like:
function widget {
function ___widget_parse {
...
}
...
unset ___widget_parse
}
Something like this (which does not currently work) would be lovely:
function widget {
local function parse {
...
}
}
How to Use the declare Command in Bash Scripts #declare #Bashscripting #Shellscript #Bash #Linux #Linuxcommands #Linuxhowto #Variables #Functions
https://ostechnix.com/bash-declare-command-usage/
@NOISEBOB #HowTo run #ShellScript when sound in mic
Here is a #bash function "getvol" which uses #SoX to listen for 0.1 second and then tells you peak volume, between 0 and 1:
function getvol {
rec -p trim 0 .1 stat 2>&1 >/dev/null | grep -Po "(?<=Maximum amplitude:).*" | grep -Po "\S+"
}
You can loop the function and do something if the volume is high enough.
Learning about making and creating and checking checksums in bash scripts to compare files.
Have always loved bash scripting… I am *sure* there is a much more elegant way to do this, but it's a start.
I love the very direct impacts of scripting things... 'make it do this'.... and computer dutifully complies. Including when you unintentionally tell it to do something stupid/destructive. lol.
Getting Linux Process List Without Forking Using Just a Bash Script - The ps command is extremely useful when you want to get some quick information on ... - https://hackaday.com/2024/07/29/getting-linux-process-list-without-forking-using-just-a-bash-script/ #softwarehacks #shellscript #how-to #bash
Hey #AskFedi (#Linux / #UNIX / #BSD users in particular),
Does anyone have a preferred front-end to keepassxc-cli? I know there's a rofi interface shell script, but I honestly found it kind of clunky.
This is something that could be very easily and nicely shell scripted, and I wanted to ask if anyone knows of one out there already before I re-invented the wheel.
Don’t Reinstall! Convert Any Linux to Arch Linux Effortlessly with TurboArch! #Turboarch #Archlinux #Linux #Shellscript #Opensource #CLI #Commandline
https://ostechnix.com/turboarch-convert-any-linux-to-arch-linux/
How To Create A Script For A Linux Command - A Beginners Tutorial #Linuxcommands #Script #ShellScript #Bashscripting #Scripting #Commandline #CLI #Ostechnix
https://ostechnix.com/create-script-linux-command/
How To Assign IP Address To Remote Linux Systems Via SSH #Linuxnetworking #Ipaddress #Linuxcommands #Linuxhowto #Linuxadministration #nmcli #NetworkManager #Networking #Commandline #Bashscript #Shellscript
https://ostechnix.com/assign-ip-address-to-remote-linux-system-via-ssh/
For your shell scripts — what are you using for testing them?
what do you wish was easier about Bash scripting?
Part 7: Getting to (non-beta) ARKit compliance for my scripted usda outputs is going to be uglier than I had hoped since usdc files are required.
Figured that out by coaxing the Apple provided usdARKitChecker to pass through a little more info from usdchecker util, and then smooshed the files together using usdcat. Unclear on how to do this all in Swift down the line, but works for now!
https://www.whynotestflight.com/excuses/hello-usd-part-7-where-my-error-messages-at/
The traditional better method than sort|uniq is of course
awk '!x[$0]++'
which everyone doing text processing should learn.
So starting from that you can easily arrive at
awk '{x[$0]++;} END {for(k in x) {print x[k],k;}}'
whose output you just need to sort.
I always wanted to get paid for 3 days of shell scripting in another country. I find it funny that someone is really looking for a "shell scripter". I didn't even know that a position like this exists (any more).