Author: Surendra Anne

Linux interview questions.

what is the difference between soft link and hard link?what are the advantages with NFS?What is difference between LILO and GRUB?How you will troubleshoot if boot partation is missing?What is crontab?How you will install MYsql in different ways?What is the difference beween Mysql5.0 and 4.0 versions?the host is unreachable how you will resolve this issue? there is no firewall the host is in same network and dns server is working fine ? what is mii tool will do? what is the advantage of lsof command? How you can compile kernel? What is CVS server? what are your day today activity? how you will create users on NIS server when the server is in production envernoment? Actually there is one partaion with 20gb mounted on /data. Users are unable to create files and data due to disk full so when you logged in to server and checked the space by using du -k it's showing. Please visit https://www.linuxnix.com for more linux admin...

Read More

IPTABLES BASICS

IPtables is vast topic which can not be dealt in one post I will be posting this IPtables in different posts but will link all of them IPtables basics Iptables is a securit module in Linux kernel, this Iptables can be used a firewall(filter table),Internet sharing(NAT table),For altering Type Of Service(mangle table) and for non tracking purpose(Raw table) Firewall definition: A firewall is a security system consisting of a combination of hardware and software that limit’s the exposure of a computer or computer network to attack from crackers; commonly used on local area networks that are connected to the internet. This is acheived by Filter table Internetsharing definition: An Internet standard that enables a LAN to use one set of IP addresses for internal traffic and a second set of addresses for external traffic. A NAT box located where the LAN meets the Internet makes all necessary IP address translations. Mangling definition:  Mangling is defined as changing the Type of service value in IP header packet to get the desired values such as decreasing latency(for example telnet,ssh should required less latency) etc. This table is used for imporving some services performance Non tracking packets definition: Most of the system/network activitis are logged in some logs, if we want our packets to be not monitored we can use this table, This raw table(which is introduced in 2.6 version linux kernel...

Read More

How to configure Crontab in Linux

The crontab is the default scheduling Application/program in most of the Linux/Nix boxes. Crontab is a scheduling tool for programs/scripts/applications to run at defined intervals without administrator interventions. Crontab = (Cron)oligical+(tab)le is nothing but time-table for executing some scripts at a given point of time So where we require crontab? Where there is no need for admin intervention such as taking daily backups, sending mails to particular user, monitoring network etc. Coming to scheduling task, crontab uses clock daemon (/usr/sbin/cron or /usr/sbin/crond) that executes commands at specific times. The corn table for each user is located in /var/spool/cron/ with their names suppose if you want to see cron table for root then the file you have to look for cron job for root is /var/spool/cron/root. Crontab file content The content of the file can be divided in to 6 fields(first 5 for specifying time and last one for executing scripts/app etc) The first five fields are separated by either a space or a tab and represent the following unit’s, respectively: * minutes (0-59) * hour (0-23) * day of the month (1-31) * month of the year (1-12) * day of the week (0-6, 0=Sunday) Configuration of crontab for user Example 1: Creating crontab for a user #crontab -e -u username -e is for specifying editing and -u for specifying user name when you are scheduling crontabs for other users if users want to...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.