Posts

Showing posts from September 9, 2010

Linux Interview Questions:Google

Q2) Write a command to find all of the files which have been accessed within the last 30 days. A1) The Command is , find / -atime +30 A2) # find / -type f -mtime +30 A3) find / -type f -mtime -30 A4) find / -type f -atime -30 = accessed find / -type f -ctime -30 = changed find / -type f -ctime -30 = modified Q3) How to schedule cron backup to run on 4th saturday of month?? A1) crontab -e ** ** ** ** /5 Q4) how to see unallocated hard disk space on linux A1) simply type cat /proc/partitions A2) df -h /dev/devicename device name could be hda,sda Q5) find out what file systems supported by kernel? A1) # fdisk /dev/hdx option: t it will show the supported FS in the kernel A2) cat /proc/filesystems will show all the file system types that the kernel can handle currently. Be aware that kernel will load the necessary modules automatically if it have, for a new file system type present in a new device you plug into it and then the output of the above command will vary. A3) you can give foll...

Linux interview questions

1)How to compile Apache? 2)Users come to you and they will be saying mail server is very slow, what are the necessary steps you will take to resolve this issue? 3)Which are the configuration files associate with DNS server and client? 4)Where you will provide ISP details for your network? 5)How you will configure Squid proxy? 6)How you will block pron sites using Squid proxy? 7)Give me details how to configure mail support for NAGIOS? 8)Can you use NAGIOS to send SMS ? how to do that? 9)What is web-min? A) Webmin is a web-based system configuration tool for OpenSolaris , Linux and other Unix-like systems. 10)How you will do kernel compilation? Explain each step? 11)What is the difference between SGID, SUID and sticky bit? 12)How to restrict users to set password with complexity ? 13)How do you monitor system performance? 14)Which are the configuration files of FTP server? 15)What are the different types of FTP servers? 16)What is the difference between ...

Linux Interview questions:Experienced

1)What is the difference between Xen and VMware ? A) XEN : Xen is an open-source virtualization solution. The Xen hypervisor acts as a thin layer between the hardware and the operating system, allowing multiple virtual servers to run simultaneously on a single physical server. Each virtual server acts independently of the others, with its own allocated area of RAM and virtual disks. VMware : VMware is a company that provides virtualization software for x86-compatible computers. 2)Can we install HPUX( (Hewlett Packard UniX) on Vmware? A)No. Because HPUX can be installed only on PA-RISC or Itanium and Vmware can not emulate this hardware. 3)How to use SAMBA as PDC(Primary Domain Controller)? 4)What is IPchains? A)Ipchains is a utility for Linux that System Administrators can use to create and modify the ruleset that is used for their host based firewall. These rules are used by a system to decide whether or not it is going to allow a specific remote connection. 5)What is the diff...