Tangentially related:
If you want the first word in a string,
up to but excluding the first space,
this is how in #bash :
${message%% *}
#BashProgramming #BashScripting
Latest posts tagged with #BashScripting on Bluesky
Tangentially related:
If you want the first word in a string,
up to but excluding the first space,
this is how in #bash :
${message%% *}
#BashProgramming #BashScripting
FYI
You can emulate this Python line
"keyword".startswith(cmd)
in #bash, using the following:
[[ "keyword" = ${cmd}* ]]
With one catch:
cmd must NOT contain any whitespace.
#BashProgramming #BashScripting #Scripting
How to write Linux bash scripts on your Android - and why you'd want to #Technology #SoftwareandApps #MobileApps #Linux #BashScripting #AndroidDevelopment
www.zdnet.com/article/linux-bash-scrip...
Anyone else ever learn something, get familiar with the concepts, but don’t know how to practice the concepts?
Begun learning how to bash script a few days ago to expand my horizons, just to realize I have no ideas on practical scripts.
If anyone’s got ideas, I’m all ears.
#linux #bashscripting
🔗 Snakemake for Bioinformatics – Playlist
👉 youtube.com/playlist?lis...
Been putting together a simple series on bioinformatics workflows using Bash & Snakemake. Fairly beginner-friendly.
Try it out.
#Snakemake #Bioinformatics #BashScripting #ReproducibleScience #BioinformaticsForBeginners
Hey NerdSky.
Anybody out there use Gnome and have a method for exposing the active window's metadata to a bash shell script?
Hyprland has a socket I can use socat on to handle events but I want to convert a script to work with Gnome and I'm not sure if I even can.
#Linux #BashScripting
Aus Langeweile mal ein Script gebastelt, was mir mittels yt-dlp ganze Playlisten bei YouTube herunterlädt, mit Titelnummern versieht und Ordnernamen anhand der Playlistbezeichnung erstellt.
Genauere Beschreibung gibt es hier:
https://www.christiansblog.eu/tutorials/bash-script/
#linux […]
Discussion overview on using `timeout` in Bash scripts. Covered different implementation methods (external `timeout` command vs. pure Bash), practical use cases, and related best practices. #BashScripting 1/5
Check SSL certificate expiration using bash and cURL 🐧 🖥️ 🔒
www.joho.se/2025/02/11/c...
#certificate #SSL #DevOps #bashscripting #linux #curl #security #cybersec #cybersecurity
Working on a self-service script for my Linux users to join our AD. All of this for compliance reasons. Is there really no decent MDM for Linux that's free and can tie into AD? Ugh. #bashscripting #linux #ubuntu #linuxmdm1
How to Use the declare Command in Bash Scripts #declare #Bashscripting #Shellscript #Bash #Linux #Linuxcommands #Linuxhowto #Variables #Functions
ostechnix.com/bash-declare...
My Favorite Scripts - https://youtu.be/1_X07NjEVbg
#bash #bashscripting #scripting #automation #foss #linux
So I am putting any Bash Scripts I come with in a seperate @Codeberg repo. I may change it's owner from me to the Hybridized-Concepts Organization I created for the blog of the same name I am trying to build.
If anyone is interested.
#Linux
#BashScripting
https://codeberg.org/CWSmith/bash_scripts
If you're interested in any of these or similar topica, please consider following @geokdev.bsky.social and myself.
#sysadmin #netadmin #devops #PowerShell #bashscripting
🔄 Need to retrieve debug information periodically with SSH and SSH multiplexing? Our guide provides a bash script to automate this process efficiently. 🖥️🔧 Check it out here: pupuweb.com/bash-script-... #SSH #BashScripting #TechTips