Posts with Tag: bash

MPV in Android with Termux

MPV in Android with Termux

Posted on 5th Mar 2025

Below is a script, for use in Termux, to launch MPV via the terminal/termux and watch videos. For the script to work properly, you have to install MPV-Android, preferably from not Google Play, use FDroid instead. Install it and make sure to allow it to use the sdcard for accessing files. Also, k...

One script to Update them all...

One script to Update them all...

Posted on 5th Feb 2025

I regularly use apt to update/upgrade system packages, but i usually forget to update snap packages/apps or github repositories or appimages... For the last one, i haven't found a global solution, but for the others, i did. Below is a simple script, that will update and upgrade your system, based...

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

Search the Internet with DMENU

Search the Internet with DMENU

Posted on 21st Jan 2025

As i showed in a previous post, with fzf, we can also use dmenu as a method to input text. It's not that difficult, but tricky yes. So, with this method, i built a BASH script, to search the Internet with the search engines i prefer, from everywhere i am at the desktop. No need to pull the termi...

BASH fetch?

BASH fetch?

Posted on 10th Jan 2025

I don't know why there are too many implementations that look like neofetch and why they are so complicated. I mean, i just saw one, using python and being tenths of files and hundreds lines of code. Why? Because of the ASCII logo? Anyway... if you want a quick way to see a complete summary of s...