Output of ls-l
Hi Friends
I have an interesting Problem ,Read this carefully When I executed " ls-l " It also didplays any links if the file has.I want to know remaining link file names and where the link aliases resides(Path) How can I do that ? Help regarding this.............. |
i read carefully... still didn't really make much sense though.... the ls output does include destination link locations..... what else do you want?
|
Maybe wants to know how to find out if a file has additional links to it, and where to find those links?
I'd never thought about this before, so I don't know what the answer is. |
U didn't understand me
In "ls-l" output it gives link count in second colum .In the last colum of output it gives destination file name to which links have been made. I want to know names of remaining links.
got me ? |
i might be wrong here, but that numerical column should be the number of hardlinks to the file on disk, whereas the "destination" file is for a symbolic link. these two kind of links, whilst having a similar result, operate in very different ways.
|
im not sure what your saying but try
locate [filename] that will display every path to that certain file and if you dont specify type it will display all routes to every file associated. |
Quote:
He wants to know the names of symlinks to a file, which can well be something completely different and thus wouldn't show up in a locate. Cheers, Tink |
All times are GMT -5. The time now is 03:10 PM. |