Gary Duzan via plug on 17 Aug 2019 07:34:26 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Linking Directories Question |
ls -lap /docs/ or ls -lapH /docs The trailing slash forces it to follow the link to the target directory, as does the -H. Gary Duzan => I stumbled on the answer to this ages ago, but can't remember where I => found the answer. Can somebody help? => => => My documents are stored under "/files/document" => => I want to reference them by "/docs" => => I execute "ln -s /files/document /docs"" to create a symbolic link. => => But, when I type "ls -lap /docs", I get "lrwxrwxrwx 1 root root 16 Aug => 17 09:58 /docs -> /files/document/", but I wanted to simply see the file => list of the /files/document folder. => => => I've done it before, but can't remember how I did it. Does anybody => remember the trick? => => => TIA! => => => => => ___________________________________________________________________________ => Philadelphia Linux Users Group -- => http://www.phillylinux.org => Announcements - => http://lists.phillylinux.org/mailman/listinfo/plug-announce => General Discussion -- => http://lists.phillylinux.org/mailman/listinfo/plug => ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug