linking directory (shortcut)

joshua39

Registered
Mar 19, 2004
4
0
151
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/
 

NexGenUK

Active Member
May 7, 2004
35
0
156
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/