|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
How Can I Tell Where A Symbolic Link is Pointing To?
Can somebody tell me how I can find out where a symbolic link is pointing to? I've searched and searched and the only thing I could find is how to create or delete one.
John |
|
#2
|
||||
|
||||
|
Try getting a long listing using ls -l
|
|
#3
|
||||
|
||||
|
re: symbolic link's target file
> How Can I Tell Where A Symbolic Link is Pointing To?
easy. $ readlink (symlink) ![]()
__________________
blackbird |
|
#4
|
|||
|
|||
|
I tried entered readlink init.d and $readlink init.d and it keeps coming up command not found.
John |
|
#5
|
||||
|
||||
|
Just do what Scorpions4ever suggested:
Code:
ls -l init.d I'm assuming init.d is the name of the symbolic link. If your version of Linux is like mine, in the last column, it'll show you were it's pointing to. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > How Can I Tell Where A Symbolic Link is Pointing To? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|