Last active
March 7, 2022 13:52
-
-
Save MaximeCulea/2ccd4b07e9e93f102039d3a94898ccde to your computer and use it in GitHub Desktop.
Get Info from a server with cli.
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
# https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux | |
echo $(dig +short myip.opendns.com @resolver1.opendns.com) | |
# @url https://www.tecmint.com/find-linux-server-public-ip-address | |
wget -qO- http://ipecho.net/plain | xargs echo | |
# Get PHP Version | |
https://www.thegeekdiary.com/how-to-check-the-php-version-on-linux | |
# Get Public server info | |
https://github.com/BeAPI/phpwpinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment