A question about symbolic link# Unix - 噫吁兮,危乎高哉
c*y
1 楼
Hi,
Is there an easy way to tell whether a symbolic link is pointing to a
directory or a single file?
I know you can try to CD into the symbolic linked item and parse the server
response to see if it's a directory or not. Any cleaner/simpler way to do
this?
Thanks very much.
Is there an easy way to tell whether a symbolic link is pointing to a
directory or a single file?
I know you can try to CD into the symbolic linked item and parse the server
response to see if it's a directory or not. Any cleaner/simpler way to do
this?
Thanks very much.