How To Kill Process In Linux

May 21, 2011

Sometimes, I need to kill a process in Linux. So, how can I do that ? In this article, i will explain how do I kill process in Linux.

Read more →

How To Find Hard Drive Specifications

May 19, 2011

There are many tools to get hard drive information such as smartctl, hdparm, hwinfo… In this article, i will use hdparm command which provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE device driver subsystem.

Read more →

Linux Display CPU Information

May 19, 2011

Q. How do I display CPU information in Linux ? A.You can get information of /proc/cpuinfo file or use lshw command to display CPU information in Linux.

Read more →

How To Add User To Group In Linux

May 19, 2011

There are two types of group. First is primary user group and other is secondary group. Group infomation is stored in /etc/group file contains basic group attributes. This is an ASCII file that contains records for system groups.

Read more →

How To Flush/Remove All Iptables Rules In Linux

May 19, 2011

By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. Type the following command to see its # cat /etc/sysconfig/iptables

Read more →

How To Save/Restore Iptables Rules

May 18, 2011

Save Iptables rules Rules created with the iptables command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root: # /etc/init.d/iptables save

Read more →