Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, quick ques, which command will tell me whether a directory is a symbolic link or not? if it is a symbolic link, is there another command to show me ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    58

    Question symbolic link

    Hi,

    quick ques,
    which command will tell me whether a directory is a symbolic link or not?
    if it is a symbolic link, is there another command to show me which directories it is linked to?

    Thanks in advance,
    David

  2. #2
    Just Joined! denniux's Avatar
    Join Date
    Jun 2009
    Posts
    4
    Just use the:
    ls -l
    command...you will see if it is a symbolic link from the first letter in attributes:
    example: lrwxrwxrwx (it is a link)
    example: drwxrwxrwx (it is a directory)
    at the end of the line you will see the directoy that the link links to
    dennis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...