Symbolic Link

From Chorke Wiki
Revision as of 04:30, 29 July 2019 by Shahed (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# soft link or symbolic link for linux
ln -s /opt/dev/workspaces/zend_workspaces/chorke_site_webapp /var/www/html/chorke_site_webapp

ls -lah /var/www/html/chorke_site_webapp
# lrwxrwxrwx. 1 root root 29 Jul 29  2019 /var/www/html/chorke_site_webapp -> /opt/dev/workspaces/zend_workspaces/chorke_site_webapp
@REM soft link or symbolic link for windows
@REM start menu>find cmd>run as administrator
mklink /D F:\var\www\html\chorke_site_webapp E:\dev\workspaces\zend_workspaces\chorke_site_webapp

dir F:\var\www\html\chorke_site_webapp
@REM 07/29/2019  05:31 PM    <SYMLINKD>     chorke_site_webapp [E:\dev\workspaces\zend_workspaces\chorke_site_webapp]