Posts in Category: bash

Find device in local network by MAC address

Find device in local network by MAC address

Posted on 2nd Feb 2025

I am making some scripts and wanted to know the IP of specific devices (ex. smartphones). To identify the device, the MAC address is enough and a sure way. Some one could use arp-scan or nmap to do so, but in my case, i didn't want to use root privileges. I wanted a way, that would be: Quick...

Whiptail Orange theme...

Whiptail Orange theme...

Posted on 27th Dec 2024

This is a theme for the whiptail linux tool, that creates menus in the terminal. It's similar to dialog. I made it for a project of mine, but because there aren't many themes out there, i share it for anyone who might find it useful. whiptail doesn't have a config file for its colors. You hav...

Mini fzf media launcher (file explorer)

Mini fzf media launcher (file explorer)

Posted on 25th Dec 2024

Below is a small media launcher for Linux/BASH, using, as always fzf :) You can use it to navigate, through directories and select media files to launch with your favorite media player. Of course the script can accept many improvements and it's only basic, but i am leaving this to you, as i wanted...

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...