Tag: Linux tools

Most frequently used linux commands

| June 5, 2011 | 0 Comments

SSH Login without password How to use IPTABLES? How to use iostat? How to use grep? How to check fre memory in linux? What is xinted? How to use wget? How to use wget? How to use uptime? How to use traceroute? How to use tcpdump? How to use sudo? How ti use awk command? [...]

Continue Reading

Files in linux that every sysadmin must know

| June 5, 2011 | 0 Comments

/etc/ssh /etc/skel/ /etc/profile /etc/modprobe /etc/inittab /etc/fstab /etc/exportfs /etc/bashrc /etc/X11 /etc/updatedb.conf /etc/securetty /etc/ntp /etc/grou.conf /etc/anacron /etc/syslog.conf /etc/sysctl.conf /etc/sysconfig/network /etc/security /etc/rc.d/ /etc/nssswitch /etc/ld.so /etc/passwd, /etc/Shadow, /etc/group /etc/logrorate.conf /etc/logrorate.conf /etc/hosts.allow, /etc/hosts.deny /etc/hosts /etc/crontab /etc/resolve.conf /etc/sysconfig

Continue Reading

What is /etc/modprobe.conf

| May 26, 2011 | 0 Comments

/etc/modprobe.conf /etc/modprobe.d Modprobe command is used to insert and delete module from the linux kernel on a fly. Insmod and rmmod commands do the same thing but the dependencies have to satisfied before we install the modules. Modprobe checks the modules.dep file to see which modules depend on what and satisfies the dependencies automatically. The [...]

Continue Reading

What is /etc/securetty

| May 26, 2011 | 0 Comments

/etc/securetty The /etc/securetty file allows you to specify which TTY devices the root user is allowed to login on. Any terminal which is commented out or is not present in this file cannot be used by root to login. This is a important security feature if you do not want root logins from all the [...]

Continue Reading

How to setup ntp on linux

| May 26, 2011 | 0 Comments

/etc/ntp and /etc/ntp.conf NTP stands for Network Time Protocol and is used to synchronize the system’s clock with an external server. This is helpful is situations in which the system’s clock is going faster or slower than normal. Many internet services are dependent on perfect timing. NTP’s configuration file is ntp.conf Sample content of the [...]

Continue Reading

What is grub.conf

| May 25, 2011 | 0 Comments

/etc/grub.conf Linux mainly comes with two kinds of boot loaders, LILO and GRUB. Nowadays GRUB is the popular one since it provides more flexibility and is easier to edit if it is mis-configured. GRUB configuration is stored in /etc/grub.conf or sometimes in /etc/grub/grub.conf. Sample content of the file is given below. Lets try to understand [...]

Continue Reading

What is anacron

| May 25, 2011 | 0 Comments

/etc/anacron Anacron is similar to cron. Both run specified commnads or programs at a particular time. But there is a major difference. anacron is not affected by system failures. That is for a cron if a job is skipped then the next time it will run is on its scheduled time. So if you have [...]

Continue Reading

What is /etc//syslog.conf file

| May 23, 2011 | 1 Comment

What is Syslog.conf? Logs are an important feature of Linux. It helps us to do forensic analysis of server crash, website access and system security. When backups help us to restore a system, log files help us to prevent the old mistakes. In this regard, we get the file syslog.conf. It has entries for which [...]

Continue Reading

What is sysctl.conf file

| May 23, 2011 | 0 Comments

What is sysctl.conf? The beauty of Linux lies in the fact that we can change the kernel parameters on the go without restarting the system. Most of the values are entered in the file /etc/sysctl.conf such as IP forwarding, system security and virtual memory configuration. To check the current configuration, use the following command Sample [...]

Continue Reading

What is /etc/sysconfig/network

| May 23, 2011 | 1 Comment

sysconfig/network For a system to communicate with the hosts on same network or on different networks such as internet we have to give our system a IP address and a hostname. These are configured in /etc/sysconfig/network file, /etc/sysconfig/networking and /etc/sysconfig/network-scripts directory. /etc/sysconfig/network Sample content of the file /etc/sysconfig/network is given below. NETWORKING means whether your [...]

Continue Reading