ls -l java
lrwxrwxrwx 1 root root 22 2019-02-17 11:37 java -> /etc/anotherLink/java
when I do ls -l it shows path to file, but that file can also be a link. is there any way to show path to real file?
when I do ls -l it shows path to file, but that file can also be a link. is there any way to show path to real file? |
|||
|
|
|
Try using It shows details about a given file (type, contents format) Example:
|
|||
|
|
|
I think what you want is
To find this, I asked which manual page might by appropriate for symbolic links.
It returned a reference to readlink, so I used the manual:
I read the manual page:
Is this what you are looking for? |
|||
|
|