| Description | Command |
|---|---|
| Start a new session with session name | screen -S <session_name> |
| List running sessions / screens | screen -ls |
| Attach to already attached screen session | screen -x <session_name> |
| Attach to a detached screen session | screen -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Add this to .bashrc | |
| geoip () { | |
| _url=$(echo "$1" | sed -e 's/^http:\/\///g' -e 's/^https:\/\///g'|tr -d "/") | |
| curl "http://ip-api.com/line/"$_url"?fields=query,country,countryCode,regionName,timezone,isp,org" | |
| } | |
| #source .bashrc | |
| #Use it as follows: | |
| geoip https://$domain.com |