Bash – Unix – Create Encrypted Disk
NOTE: This script currently only natively will work in a UNIX (Debian, Ubuntu, Red Hat, Rocky, CentOS, Fedora, etc.) operating system and will NOT natively work in a macOS or Windows operating system.
Posts in this category are specific to Zorin OS and may or may not work on Ubuntu, Raspbian, and Debian or other UNIX based systems.
NOTE: This script currently only natively will work in a UNIX (Debian, Ubuntu, Red Hat, Rocky, CentOS, Fedora, etc.) operating system and will NOT natively work in a macOS or Windows operating system.
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.
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 make it easier to organize…
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 (detail) passed Parameter r (release)…
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.
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
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.
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/