Ubuntu 25.04 beta is now available to download #Linux #Ubuntu #Debian #TechNews #shellscripting #kalilinux
https://www.omgubuntu.co.uk/2025/03/ubuntu-25-04-beta-download

Ubuntu 25.04 beta is now available to download #Linux #Ubuntu #Debian #TechNews #shellscripting #kalilinux
https://www.omgubuntu.co.uk/2025/03/ubuntu-25-04-beta-download
#Example directory: 27a81c6a_06f2_4a0b_82a3_5eeee7ef91e8
h="[0-9a-f]" #hex value glob
for dir in $h$h$h$h$h$h$h${h}_$h$h$h${h}_$h$h$h${h}_$h$h$h${h}_$h$h$h$h$h$h$h$h$h$h$h$h; do
if [[ -d $dir ]]; then
...
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 {
...
}
}
OSS CLI tools appreciation post.
Sure, you use AI tools to generate CLI commands. I use CLI tools to generate AI prompts. We are not the same.
I've probably looked this up in `man` a few hundred times. But it's not an example in man... Gotta actually read to figure it out. Why did they choose `+`? That always throws me.
`date +"%Y%m%d"`
Here a function to download a YouTube thumbnail to file. Written in dnyScript for AquaShell.
today I learned:
#linux #shell
#ShellScripting #wetter #weather
füge das zu Deiner ~/.bashrc hinzu:
```
wetter(){
curl http://wttr.in/$1
}
```
danach:
(found at https://github.com/chubin/wttr.in)
Automate your tasks on BashCore!
Tired of typing long commands over and over? Prepare your .sh, .py, .rb or .pl scripts on another PC, save them on a USB stick, and run them directly on BashCore. No need to rewrite everything—just execute and go!
Faster workflow
Fewer errors
Maximum efficiency
I want to like ShellSpec, but it's custom It/When/The DSL language feels so disconnected from actual code. It's also not in many package repos, where as shunit2 already is.
https://shellspec.info/
I figured out how to "stub" specific commands in shell script tests, but it's not pretty.
# stub the "command" command as a function
function command() {
if [[ "$1" == "-v" ]] && [[ "$2" == "java" ]]; then
# stub that java is not installed
return 1
else
/usr/bin/command $*
fi
}
# and to remove the stub
unset command
Je viens d'arriver à écrire un script shell en une ligne de awk pour un projet Kirby bilingue où je dois formater des gros fichiers .txt exportés depuis un tableau de traduction sous forme de tableaux PHP indentés correctement, et ça me rend heureux :
`awk -F$'\t*' '{gsub(/[ \t]+$/,"",$1); print " \""$1 "\" => \"" $2 "\","}' input.txt`
Alors que c’est pas fou hein en soi, mais c’est tellement satisfaisant quand ça marche !
Attend the PHP Tek Conference in Chicago, this May. If you develop Web Applications, you don't want to miss it.
I look forward to seeing you all there!
Unpacking the Legacy of Unix Shell Wildcard Globbing: A Journey Through Time
The evolution of wildcard globbing in Unix shells is a fascinating tale of innovation and minimalism. From its humble beginnings in V1 to the robust implementations in V7, discover how this feature sh...
Unleashing the Power of Shell Init Commands: Elevate Your CLI Game
Ever wondered how to supercharge your shell experience? Dive into the world of shell init commands and discover how tools like Deno, zoxide, and Starship can transform your command line into a product...
https://news.lavx.hu/article/unleashing-the-power-of-shell-init-commands-elevate-your-cli-game
Exciting baby-steps for this non-techie Linux enthusiast. I've got Pika Backup set up and running smoothly. And then I noticed that you can run a pre-backup shell command. So I have a basic shell script that pipes my flatpak list and brew list each into a text file.
#Linux #PikaBackup #ShellScripting #FOSS
#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted
If anyone following me is learning the terminal (or was even in the class I taught this semester - blog post about that coming soon!), then this post might be of interest to you:
Free ebooks seem to be available for a limited time.
Someone help me out, is this too many? XD
$ alias |wc -l
115
$ typeset -F |wc -l
191
$ typeset -f |wc
2934 8863 80790