Symbolic Link: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang="bash"> | <source lang="bash"> | ||
# soft link or symbolic link for linux | # soft link or symbolic link for linux | ||
ln -s /opt/dev/workspaces/ | ln -s /opt/dev/workspaces/zend_workspaces/chorke_site_webapp /var/www/html/chorke_site_webapp | ||
ls -lah /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/ | # lrwxrwxrwx. 1 root root 29 Jul 29 2019 /var/www/html/chorke_site_webapp -> /opt/dev/workspaces/zend_workspaces/chorke_site_webapp | ||
</source> | </source> | ||
Line 10: | Line 10: | ||
@REM soft link or symbolic link for windows | @REM soft link or symbolic link for windows | ||
@REM start menu>find cmd>run as administrator | @REM start menu>find cmd>run as administrator | ||
mklink /D F:\var\www\html\chorke_site_webapp E:\dev\workspaces\ | 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 | dir F:\var\www\html\chorke_site_webapp | ||
@REM 07/29/2019 05:31 PM <SYMLINKD> chorke_site_webapp [E:\dev\workspaces\ | @REM 07/29/2019 05:31 PM <SYMLINKD> chorke_site_webapp [E:\dev\workspaces\zend_workspaces\chorke_site_webapp] | ||
</source> | </source> |
Latest revision as of 04:30, 29 July 2019
# 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]