Getting value of a symbolic link using readlink

Sometimes it is needed to learn the value of a symbolic link not using ls -l or something like that. There is special utility for this: readlink. You can use readlink in console or in a shell script like that:

readlink /lib/libc.so.6







You must be login first or sign-up for an account to post comments.