Donald Feury
  • 📝 Topics
  • 💲 Donate
  • 🌎 Links
  • ✉️ Contact
  • ▶️ Videos
Subscribe

Linux

A collection of 2 posts
How to check if a string is empty in Bash
Bash

How to check if a string is empty in Bash

To check if a string is empty in a Bash script, use the -z conditional which returns 0 (true) if the length of the string is 0 and 1 (false) if it is greater than 0. myVar="hello" if [[ -z "$myVar" ]]; then echo "myVar is empty" else echo "myVar is
Oct 22, 2021 1 min read
Replace the Official Spotify Client With spotify-tui and spotifyd
Linux Featured

Replace the Official Spotify Client With spotify-tui and spotifyd

I have an old Thinkpad X200 laptop and if there is one thing it doesn't like, its Electron apps that consume 30% of its RAM. So I used a combination of two programs to replace the official Spotify client, spotify-tui [https://github.com/Rigellute/spotify-tui] and spotifyd [https://github.com/
Jun 26, 2021 1 min read
Donald Feury © 2025
  • 💲 Drop me a donation
  • 🗠 Check my stats
  • ❓ FAQ
  • ✉️ Contact Me
Powered by Ghost