Tuesday, July 6, 2010

Size of a Symbolic Link In UNIX

Check the Below Example:

lrwxrwxrwx 1 root root 8 Dec 8 2008 swbt -> /nas/usr
lrwxrwxrwx 1 root root 10 Dec 5 2008 tmp -> ../var/tmp

In the above llinks the sizes are 8 and 10 respectively . The Symbolic calculate the size according to the
number of the charaters in the link Path i.e

/nas/usr has 8 characters So the Size is 8

../var/tmp has 10 character So the Size is 10

No comments:

Post a Comment