ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Linux  >>  Linux IPC
 
 


 

 
 Linux Commands interview questions  Linux Commands Interview Questions
 Linux Threads interview questions  Linux Threads Interview Questions
 Linux IPC interview questions  Linux IPC Interview Questions
 Linux Socket Programming interview questions  Linux Socket Programming Interview Questions
 Linux System Calls interview questions  Linux System Calls Interview Questions
 Linux AllOther interview questions  Linux AllOther Interview Questions
Question
what is symbolic link in unix ???
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is symbolic link in unix ???
Answer
# 1
symbolic link is an alias of the existing file/folder. it 
can be hard link or shoft link
 
Is This Answer Correct ?    0 Yes 0 No
Pritesh
 
  Re: what is symbolic link in unix ???
Answer
# 2
Symbolic(Soft) link is not a real file , just a link to 
another file. It allows giving another name to a file 
without duplicates it. Its advantage is - Save Memory Space.
To create a symbolic link.   ln -s extisting_file des_file
 
Is This Answer Correct ?    2 Yes 1 No
Renjith
 
 
 
  Re: what is symbolic link in unix ???
Answer
# 3
Linux has two kinds of file system links: symbolic links and
hard links. 

A symbolic link — also called a soft link or symlink —
resembles a Windows shortcut. A symlink is a little file
that contains the pathname of another object on the
filesystem: a file, a directory, a socket, and so on —
possibly even the pathname of another link. This pathname
can be absolute or relative. To make a symlink, use ln with
the -s option. Give the name of the target first, then the
name of the link.

# ln –s existing-file-name link-name

We can still edit the original file by opening the symbolic
link, and changes we make doing that will "stick." But if we
delete the symbolic link, it has no impact on the original
file at all. If we move or rename the original file, the
symbolic link is "broken," it continues to exist but it
points at nothing.

A hard link isn’t itself a file. Instead, it’s a directory
entry. It points to another file using the file’s inode
number.  Means both have same inode number. Any changes to
the original file will get reflected in the link file also
as both are same.

# ln existing-file-name link-name

To give a file more than one name or to make the same file
appear in multiple directories, you can make links to that
file instead of copying it. One advantage of this is that a
link takes little or even no disk space. Another is that, if
you edit the target of the link, those changes can be seen
immediately through the link.
 
Is This Answer Correct ?    0 Yes 0 No
Ajit Mohan B
 

 
 
 
Other Linux IPC Interview Questions
 
  Question Asked @ Answers
 
who are the author of LINUX operation system? Linux2
Why have you choosen such a combination of products?  1
Why do we have serial and parallel interface, which one was faster and why and when we should go for this interface. NetApp2
what is symbolic link in unix ??? Symphony3
What are the Advantages and disadvantages of script vs compiled program?  2
What does ?route? command do? IBM3
Which tool would you use to update Debian / Slackware / RedHat / Mandrake / SuSE ?  2
Which distro you prefer? Why? IBM1
Which Linux distros do you have experience with?  1
How shared memory are accessed if we have two processors trying to acquire the same region. NetApp2
 
For more Linux IPC Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com