Created
August 15, 2020 12:20
-
-
Save armanhakimsagar/b74ce2e11800c94acb84b8f3cbfd24a6 to your computer and use it in GitHub Desktop.
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
lastb - failed login list | |
lastlog - show all logged history | |
pwd - current directory | |
curl -s -w %{time_total}\\n -o /dev/null http://airposted.com - response time | |
curl -I -s https://opensource.com - server related info | |
ps -ef - show all running application | |
ps -ef | grep tomcat - show running specific application | |
top - show cpu status | |
netstat - all networking related work | |
df - show free spaces | |
iptables -A INPUT -s 65.55.44.100 -j DROP - block any ip | |
iptables - iptables blocks or allows traffic on a Linux host, similar to a network firewall. | |
nmap - use this for server security status. | |
nmap -F 192.168.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment