Results 1 to 3 of 3
hi there,
I have a linux server, and use symbolic links a fair amount. I'm also merging some of my php code
library to another location.
my question is, is ...
- 10-09-2010 #1Just Joined!
- Join Date
- Apr 2003
- Posts
- 52
detecting symbolic links
hi there,
I have a linux server, and use symbolic links a fair amount. I'm also merging some of my php code
library to another location.
my question is, is there any way to get a list of symbolic links that point to a specific directory which I am going to be moving? that way I can manually go through them and re-point to the new location of the physical folder. Thanks, your assistance is appreciated.
Samuel
- 10-09-2010 #2
i think you use this it work
Hard Links and Symbolic LinksCode:ls -la
Take risks: if you win, you will be happy; if you lose, you will be wise.
New Users : Read This First
- 10-10-2010 #3Just Joined!
- Join Date
- May 2008
- Location
- Bangalore, India
- Posts
- 24
ved's points out it right you can get in the directory to which directory/file the symbolic link points to.
you can also try
$PWD - your present working directory you can check for any directory,Code:find $PWD -type l -ls
this will go through every directory and give list of symbolic links


Reply With Quote