Author: Surendra Anne

Soft link Vs Hard link in Linux/*NIX

Soft Link (Symbolic Link) & Hard Link   Soft Link Soft or symbolic is more of a short cut to the original file….if you delete the original the shortcut fails and if you only delete the short cut nothing happens to the original. A ‘soft link’ is a symbolic link to another file either on the same file system or a different file system. A ‘soft link’ may span file systems while a ‘hard link’ must point to a file on the same file system. A soft link (or symbolic link) is just a way of accessing files (or directories) without moving them. You just have to associate the path of the file with a special type of file (a link) which will lead you directly to it. It is called soft by comparison to a hard link which has different properties. A soft link is basically a file that contains the absolute path of the file it is pointing to. The file system tools simply know to follow the link in the file. This allows us to link across the system Hard Link hard link is more of mirror copy….does something to file1 and it appears in file 2 deleting one still keeps the other ok Difference between hard link and soft link Hard links share the same inode. Soft links do not. Hard links can’t cross file...

Read More

Linux Interview questions:Experienced

Experienced what is DNS?why we required CHROOT package? can you explain it?What is the location for DHCP server default leased configs file?what is the command and syntax to check DNS server named.conf file errors?What is the command and syntax to check DNS server zone files config errors?How do you update DNS zone file entries without restarting named demon?What are the services/demons will restart when you restart NFS service?how do you update NFS sharing details without restarting NFS server?What are the advantages of NIS?Can you explain me about LVM and how you configure LVM?What is the difference between LVM1 and LVM2?What is Amanda server and where is it used?Can you explain me corntab?How to resize LVM?Can you explain me about RAID5?How many RAID devices are there in RHEL5 by default?Min how many Raid devices will participate in RAID5?How do you do Kernel patching and what is the command?Can you explain me about in details how you do kernel recompilation?Can you explain what is the use fo access file in sendmail and what is it’s location?Can you explain me what is the advantage of local-hosts file and virtusertable in sendmail?How you will specify static IP’s in DHCP server?how do you update NIS users without restarting the NIS server?What is the partation no for LVM?What is the partation no for RAID?What is the port no for DNS?Can we change default port no...

Read More

Linux Interview Questions:Disk management

Disk managamenent linux Click here for other interview questions 1) How to creat swap if you don’t have free partation?this is some what tricky question if you are new to Linux Administrationhere is the command to create swap if you don’t have free partationbefore doing this you have switchoff the swapswapoff -add if=/dev/zero of=/root/swapfile bs=1k count=1024swapon filename 2)How to see swap details?   cat /proc/swap   free 3)How to see/get info about RAM in ur system   free   cat /proc/meminfo 4)What is the difference between ext2 and ext3  I)ext3=ext2+journaling “journaling” is an add-on to a filesystem that records changes as they are made.II)ext2 files system is fastIII)less disk writesIV)ext2 file system in less stable/secureV)ext2 file system required to run fsck command if the system get crashed 5)How to convert ext2 file system to ext3?   tune2fs -j /dev/hda1 6)How convert ext3 file system to ext2   tune2fs -O^has-journal /dev/hda1 7)What is default block/chunk size for PV   4MB 8)what is the command to update the diskquota on file system   mount -o remount,rw /home 9)What is the partation type number for swap,RAID,LVM?   82(swap),fd(RAID),8e(LVM) 10)What is the default block site for ext2,ext3,LVM,RAID? 11)What is the difference between LVM1 and LVM2? 12)What is difference between RAID0,1,5? Please visit https://www.linuxnix.com for more linux admin...

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.