Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is symbolic link in unix ???

Answer Posted / prince udirmaan deka

As we know that there are three file system in the UNIX. They are Ordinary File, Device File and Directory File. The fourth file is Symbolic File. Like unlike Hard Links, they don't stored any content but provides the pathname of the file. Symbolic Links are sometime often called as Soft links.

The ln command is used to create soft link with -s option.
For example:-
$ ln ln -s note note.sys
$ ls -il note note.sys

12345 rwx_wx_w_ Kumar 2 metal grp 12 feb 22 12:23 note
12346 lrw_rwxr_x Kumar 2 metal grp 10 mar 12 16:00 note.sys->

From the above example we can see two expressions:-
1) l(el):identifies the permission of the file.
2) ->(pointer): provide path name to the file note.

In soft link, we can see that inode number is different for each file.

It is important to realize that if we delete the file note.sym, then we recreate link easily. But if note file is deleted then would lose the content of data. In that case, note.sys points to non- existent file and becomes dangling pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ipc techniques?

891


What are the various IPC mechanisms? Why is message passing costlier than semaphore?

1020


What are Wait and Post Operations?

1448


What is ipc certified soldering?

879


What is Connection style?

1660


What is Datagram style?

1497


How to Map an Ordinary File?

1534


What is Processes Semaphores?

1473


How to Access a FIFO?

1609


What is the difference between j std 001 and ipc a 610?

853


Explain Communication Between Parent and Child Processes?

1723


What is ipc and its types in linux?

938


What are Private Mappings?

1495


What is Fast Local Communication?

1419


What are the Uses of mmap?

1624