Category: BASH scripts

Find text string in file

I save a script named “findtext” that will look for specific text you want inside any file smaller than a maximum size (avoiding searching huge binary file) you can find this and several other useful scripts at https://github.com/scienceopen/bash-utils

Checking your Public IP address (Linux/Mac)

The script below allows you to check your public IP. This is handy when say you work on a VPN and want to quickly check that you’re still connected (by seeing that your IP is in your organizations VPN IP address range), or like many folks behind a NAT router. Note, use this script responsibly, […]