Linux Shell 'test' command?

Discussion in 'Programming' started by emailaatif786, Nov 22, 2009.

Thread Status:
Not open for further replies.
  1. emailaatif786

    emailaatif786 Always Questioning?

    Joined:
    Feb 16, 2006
    Messages:
    351
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Srinagar
    Linux Shell 'test' command?
    What test command should be used in order to test whether /usr/bin is a directory or a symbolic link?
    Please reply and give some details.
     
  2. gopi_vbboy

    gopi_vbboy New Member

    Joined:
    Mar 1, 2007
    Messages:
    1,452
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Hyderabad
    type : man ln
     
  3. khmadhu

    khmadhu change is constant!!

    Joined:
    Jan 28, 2010
    Messages:
    501
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Bengaluru
    use file command..

    type in shell

    file filename

    this will give u whether its a ordinary file or directory or symbolic link
     
Thread Status:
Not open for further replies.

Share This Page