The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

linking directory (shortcut)

Discussion in 'General Discussion' started by joshua39, Sep 7, 2007.

  1. joshua39

    joshua39 Registered

    Joined:
    Mar 19, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Can someone show me how to create a shortcut/link folder

    something like this

    lrwxrwxrwx 1 root root 15 Sep 6 16:52 stepheng -> /home2/stepheng/
     
  2. NexGenUK

    NexGenUK Active Member

    Joined:
    May 7, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    in SSH (as by the printout you're using) the command is as follows:

    ln /target linkname -s

    eg:
    root@ukshare002 [~]# ln /home/ifc ifc -s

    produces an outcome of:
    lrwxrwxrwx 1 root root 9 Sep 7 18:58 ifc -> /home/ifc/
     
Loading...

Share This Page