System administration in Linux Interview Questions
Here are 10 interview questions on System administration and Linux . You will see 10 new Interview Questions posted every hour today. I have more than 100 Interview questions to share with you but Keep reading this whole blog to get the maximum knowledge to Win any Software or Storage or System administration or Networking Job.
1.What is the best RAID level?
RAID 0 for performance
RAID 5 for High availability
RAID 6 even better HA if the budget is fine
2.What is MAC address and How to check the MAC address in linux?
A mac address means media access control address.It is a unique address assigned to almost all networking hardware such as Ethernet cards, router etc.
Most layer 2 network protocols use one of three numbering spaces which are designed to be globally unique.
Linux Command to see MAC address:
Ifconfig is used to configure network interfaces.
$ /sbin/ifconfig | grep HWaddr
Output: eth0 Link encap:Ethernet HWaddr 00:0F:EA:91:04:07
OR
$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:EA:91:04:07 <<< THIS IS THE MAC ADDRESS
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:eaff:fe91:407/64 Scope:Link
OR as a root user type following command:
# grep eth0 /var/log/dmesg
eth0: RealTek RTL8139 at 0xc000, 00:0f:ea:91:04:07, IRQ 18 <<< this line 2 component from this side is MAC address
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
3.how to assign a permanent IP to a client which is presently in DHCP in Linux?
/sbin/ifconfig eth0 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255
In this command we are assigning 192.168.10.1 IP to ethernet interface(NIC card) eth0.
Also in redhat linux terminal you can type comand "setup" & launch a Wizard type interface in which u can choose network & configure IP
You can use the GUI tool /usr/bin/neat - Gnome GUI network administration tool. It handles all interfaces and configures for both static assignment as well as dynamic assignment using DHCP.
4. How to exclude some ip address range in DHCP?
5.How to resolve data from primary DNS to Secondary DNS ?
6.What is the default serial number of DNS ?
7.how to pull the data to the secondary nis server from master server?
8.what file need to be changed in nis client if you are changing the machine from one subnetwork to other subnetwork?
9.how to see memory usage?
Commands "top" and "free -m"
10.how to increase the filesystem ?
Using command # fdisk