Whitelist IP or IP range in/out using iptables

#Flush existing rules iptables -F # Set up default DROP rule for eth0 (Assuming eth0 is the Ethernet Port) iptables -P INPUT DROP # ...

    How to compress / zip a directory in Linux

    To compress in tar.gz format: tar -cv /directory | gzip > archive.tar.gz To decompress the tar.gz file: tar -zxvf archive.tar.gz ...
      change default ssh port 22 to something else

      How to change default SSH port 22 to something else

      Internet connected Linux servers are always vulnerable to exploitation by the hackers/intruders. One of their common attack is through ...
        determine whether your storage is SSD or HDD using linux command

        Determine if the storage is SSD or HDD – using linux command

        You’ve purchased a Cloud server or a Virtual server. The server provider says it comes with an SSD (Solid State Drive). Now you ...
          Load More