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.
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.
If you have an MP3 that you’d like to use for your iPhone the script below will help you get that file into your ringtone options. Then you can copy the .m4r files into iTunes Tones directory/screen and sync with your phone.
Working on a couple tasks that need team information so I registered a read-only API key and started pulling down data for an offline app. Initially populating data using bash and jq. This may be cleaned up in time but it works for my purpose for now. Currently I’m just creating the create and update…
If you have a large amount of files that are in sub-directories and would like them to be in the same directory this will pull all the files into one directory. NOTE: The ‘find .’ is looking at the specific directory you currently are in. Make sure this is what you want.
If you have fallen in love with Oh My Zsh you likely have at one point realized it currently lacks the “history -c” option to clear your terminal history. This code below will help with that.
Sometimes you need to turn off Wi-Fi and turn on Ethernet and vice-versa NOTE: Important to know what your configuration is.
This is my basic setup for a laptop/desktop that I have for my family to use. Debian Based Should work on Debian, Ubuntu (all Ubuntu flavors) Red Hat Based Should work on Red Hat, Rocky, CentOS, and Fedora This first part is only needed for Red Hat Fedora Specific Programs
Reference: https://www.raspberrypi.org/forums/viewtopic.php?t=150438