Often there are needs to rename a picture or video to help with organizing the files on a computer or in cloud storage. The code below can help to make some organization easier. For those that are not use to the date format used below, it is specifically chosen to…
Category: Raspberry Pi
Bash – Raspberry Pi – OpenMediaVault – Network Storage
Start out with a headless (no GUI) Raspberry Pi OS (Raspbian) With the SD Card still mounted in your computer, create a ssh file to start with SSH enabled (Note: no extension, no text) After a few seconds of letting the SD Card load in the Raspberry Pi find the…
Bash – Unix – Identify Distribution (What OS Am I On)
Unix Identification is a script that originated with VMWare but I have added some other systems to the script. No Install Option Install Option Basic parameters of the script No parameters passed you will be asked to type a,d,r,or i then press enter/return Parameter a (all details) passed Parameter d…
Raspberry Pi – Dynamic MOTD
Similar to UNIX – Set SSH Banner but this will update at every login incase something changes.
UNIX Bash – Random Secure Password
Tested on Raspberry Pi but should work on any Debian based OS NOTE: With the three languages included you may get some words for your password that may be offensive if you choose not to put words in the badwordlist file. If so just run the script again.
Ubuntu / Raspberry Pi – Install NGINX Load Balance DNS
Replace the IP addresses with your IP addresses Modify your config file to look like this When done you need to test the config You should see something like nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Reference: https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/