Skip to content

Instantly share code, notes, and snippets.

@Rafat97
Last active July 16, 2021 18:11
Show Gist options
  • Save Rafat97/5213bdfdb7e0317fa94ca7d03a27edff to your computer and use it in GitHub Desktop.
Save Rafat97/5213bdfdb7e0317fa94ca7d03a27edff to your computer and use it in GitHub Desktop.
๐ŸŽถ Important commends ๐ŸŽถ

๐Ÿ’ฃ Important Commends ๐Ÿ’ฃ

/**********************************
* Get a list of Open Ports in Linux
************************************/
sudo apt install net-tools
netstat -lntu
/**********************************
* uninstall python
************************************/
sudo apt purge python
/**********************************
* List all installed packages only
************************************/
apt list --installed
/**********************************
* htop install
************************************/
sudo apt install htop
htop
/**********************************
* Port used information
************************************/
sudo lsof -i -P -n | grep LISTEN
/**********************************
* Get a list of displaying possible routes and measuring transit delays
************************************/
tracert -h 100 example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment