Posts with Tag: bash

Get Wireless Interface in BASH

Get Wireless Interface in BASH

Posted on 2nd Dec 2024

Just a quicky... :) To get the wireless interface of your computer, in a simple and "universal" (that works in every system) way, is the following. Just use this simple command: ls /sys/class/ieee80211/*/device/net/ -1 The command will list the names of the wireless interfaces. If it's only on...

Getting APRS messages via Internet in BASH

Getting APRS messages via Internet in BASH

Posted on 6th Nov 2024

Lets use a BASH script to read APRS messages through the Internet. No need to have a ham radio :) The script uses expect to connect using netcat in APRS internet servers. The cool thing, is that, the main script creates sub-scripts that use expect to make the connection. I have made it a lon...

Use FZF as text input...

Posted on 30th Oct 2024

Let see how we can use fzf for getting an input from the user... and i don't just mean to choose from a list of items, as fzf does normally. With the proper arguments/paramaters of fzf we can use it, as an input function, where the user, would be able to type anything, not just select a choice and...

Share text from your terminal with QR codes

Share text from your terminal with QR codes

Posted on 11th Oct 2024

Often, there are times, that i want to share a text (link, command, search term etc) to my phone, from my main computer PC. For sure, you can send it over with an email, but i don't like this way, cause it's filling up my inbox/trash folder with useless emails, that often forget to delete. Also... s...

Small script for selecting your favorite Internet radio stations...

Posted on 9th Oct 2024

I have a small selection of Internet radios i like to listen to. Storing them in a program or a playlist (.m3u) is not my thing, cause in the past, either i lost it, changed programs/streaming applications or the file got corrupted. But my scripts, have a special care... i store them separately and...