Posts

Showing posts from June, 2012

Linux Interview Question

I know for a beginner how tough to find which types of question an interviewer will ask to ?? ...   These are the some Question for Reference...    1.      Diff between RHEL 4 & 5 & 6 2.      About boot proces 3.      Types of DNS? 4.      how dns works? 5.      what is squid? 6.      port number of data ftp, ftp, telnet, smtp, sql 7.      what is sendmail hows it's works 8.      How to block downloading in squid 9.      How you handle Load on server? 10. Fields in crontab? 11. Any backup tools you know? 12. How to update your server? 13. rpm commands to update, erase, install etc... 14. Use squid to do authentication of users on browser? 15. Use of NFS and samba? 16. Diff NfS & Samba? 17. What is SeLinux? 18. Default cache size in Squid? 19. I want to assign NISdomainnam...

Linux Crontab

Linux Cron utility is an effective way to schedule a routine background job at a specific time and/or day on an on-going basis.   Linux Crontab Format MIN HOUR DOM MON DOW CMD Table: Crontab Fields and Allowed Ranges (Linux Crontab Syntax) Field Description Allowed Value MIN Minute field 0 to 59 HOUR Hour field 0 to 23 DOM Day of Month 1-31 MON Month field 1-12 DOW Day Of Week 0-6 CMD Command Any command to be executed. Scheduling a Job For a Specific Time Every Day The basic usage of cron is to execute a job in a specific time as shown below. This will execute the Full backup shell script (full-backup) on 10th June 08:30 AM . Please note that the time field uses 24 hours format. So, for 8 AM use 8, and for 8 PM use 20. 30 08 10 06 * /home/Sadeek/full-backup 30 – 30th Minute 08 – 08 AM 10 – 10th Day 06 – 6th Month (June) * – Every day of the week Schedule a Job For More Than One Instance (Twice a Day) The following script take a incremental b...