Sometimes you need a simple log to know when a site is up or down. Create a script like below and then put it in your crontab.
Category: Raspbian (Raspberry Pi OS)
Posts in this category are specific to Raspbian (Raspberry Pi) and may or may not work on Zorin OS, Ubuntu, and Debian or other UNIX based systems.
BASH – Picture / Video File Name Manipulation
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…
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.
Bash – Download YouTube Music
Alternate option, read a text file. Create a text file with the YouTube links with a line break between each. The links can be a single video or a playlist URL, the downloader will parse the playlist and download each of the videos in the playlist and convert to MP3
Bash – Mass NSlookup
When you are moving from one server public IP to another you could use some help knowing things are changed. This bash script will do an NSLookup on various DNS servers.