Quantcast
Channel: linux – HASIBUL ISLAM 's BLOG
Browsing latest articles
Browse All 9 View Live

SSH commands to check Hard Drive usage information in Linux Server

Login to your Linux server using SSH Client (ie, PuTTy) Once you are connected to your server: Use to following command to check Hard Drive and partitions: (without the “#”) # df -h It will show you...

View Article



How to disable IPtables Firewall in Linux (Red hat/CentOS/Fedora Core)

Disable / Turn off Linux Firewall (Red hat/CentOS/Fedora Core) Type the following two commands to save the IPtables first and then to stop it (you must login as the root user): # /etc/init.d/iptables...

View Article

ConfigServer installation IPtables problem in OpenVZ or Virtuozzo (solved!)

ConfigServer Firewall (AKA csf) is an essential security tool for Linux based server and VPS. The installation of CSF is pretty straight forward and is described here:...

View Article

How to block IP address in Linux – Using IPTables Rule

Using IPTables rules we can block a Single IP address or a block of IP Addresses. The following command (via ssh) will drop any packet coming from the IP address 1.2.3.4 : # iptables -I INPUT -s...

View Article

Image may be NSFW.
Clik here to view.

GHOST vulnerability in Linux distributions and its Solution

A GNU C Library (glibc) vulnerability – termed as “GHOST Vulnerability” was announced to general public on 27  January 2015 – after a Cloud research company Qualys discovered this major security...

View Article


Image may be NSFW.
Clik here to view.

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 definitely would like to verify whether the storage is indeed SSD or is...

View Article

How to find the IP addresses of a Linux system

The following command in a linux based system will show all the IPs assigned to that system: # ip addr show Or alternatively, if you’d like to know the IP address(es) of a certain port (for example...

View Article

How to Clear bash / SSH / Terminal command history in Linux

You might need to wipe off the command history that you’ve executed in your linux system for various reason. Normally when logged into the bash / SSH terminal – if the Up Arrow key is pressed –...

View Article


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 SSH. By default SSH servers are configured to listen to port 22...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images