πŸ’‘ TIP: On a Linux system using bash, you can compare text strings without worrying about upper or lowercase by using the ,, (lowercase) or ^^ (uppercase) parameter expansion modifiers e.g.

EDITION=CommUNITY

if [[ ${EDITION,,} = community ]]; then
echo "Community"
fi

${EDITION,,} converts the value to lowercase.

@opensuse @fedora @debian
#ZikTIPs #bash #scripting #linuxtips #techtips #feditips #Linux #opensource

TIP: πŸ’‘Check the remaining battery level for your connected bluetooth device on a typical Linux system using the following command:

bluetoothctl info AA:BB:CC:DD:00:11 | awk '/Battery Percentage:/ {print $4}' | tr -d '()'

* Replace "AA:BB:CC:DD:00:11" with the MAC address of your bluetooth device

@openSUSE  @fedora @debian  #ZikTIPS #Bluetooth #Audio #TechTips #SysAdmin #LinuxTips #CLI #OpenSUSE #Fedora #Debian #Linux #opensource

πŸ’‘ On a typical Linux system, you can find bluetooth devices that are paired, connected, and trusted using the following command line:

bluetoothctl devices [ Paired | Connected | Trusted ]

For example: List currently paired bluetooth devices:

$ bluetoothctl devices Paired

Device 00:42:XX:YY:ZZ:YY XXBK85
Device 00:FD:AA:XX:YY:X8 D-26

@opensuse @fedora @debian #ZikTIPS #TechTips #SysAdmin #LinuxTips #CLI #OpenSUSE #Fedora #Debian #Linux #opensource

For anyone interested in using Kea DHCP server on buildroot, I have submitted a new package patch that is currently awaiting upstream review. You can check it out here:

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

@iscdotorg
#ZikTIPS #buildroot #dhcp #networking #linux #opensource

πŸ’‘ Calculate the number of days since a given date (e.g. 30 June 2025) on a Linux system:

echo $(( ( $(date +%s) - $(date -d "2025-06-30" +%s) ) / 86400 ))

@opensuse @fedora @debian #ZikTIPs #Linuxtips #LinuxTechTips #Linux #FOSS #Opensource

πŸ’‘Did you know you can just run the mount command with -m flag to create a non-existent mount point instead of first creating it.

e.g. mount -m /dev/sdc1 /myflash

#ZikTIPs #linuxtips #techti #Linux #OpenSource

πŸ’‘ It's conference 🎀 season! Impress your audience with a slick QR code using these easy commands on Linux

βœ… Add your content to a text file:
printf " Name: Zik Joseph\n Blog: https://zikusooka.com \n" > my_contacts.txt

βœ… Convert text file (and contents) into QR code image:
qrencode -o zik.png -r my_contacts.txt

Thats all! Add zik.png to your slides. Easy, classy.

#ZikTIPS #TechTips #LinuxTips #Conference #Linux #FOSS #OpenSource

πŸ’‘ Use the following command line to generate a list of security advisories on Fedora and RedHat Linux based systems #ZikTIPs #TechTips #Fedora #Redhat #Linux #Security #Opensource
@fedora @redhat

sudo dnf advisory list

If you’re like me and enjoy watching streams or listening to multiple audio sources, check out my newly updated @pipewire based script! It makes muting or unmuting sound from different sources really easy.

Find it here:
https://github.com/zikusooka/toggle-pw-volumes
Context: https://joseph.zikusooka.com/?p=2637

#ZikTIPs #Linux #PipeWire #Multimedia

GitHub - zikusooka/toggle-pw-volumes: Toggle volume between several pipewire ports

Toggle volume between several pipewire ports. Contribute to zikusooka/toggle-pw-volumes development by creating an account on GitHub.

GitHub

Cheat sheet: How to easily manage your packages using the Zypper command line tool on #OpenSUSE #Linux @opensuse #techtips #ZikTIPS

https://en.opensuse.org/images/3/30/Zypper-cheat-sheet-2.pdf