Symbolic Link: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<source lang="bash"> # soft link or symbolic link for linux ln -s /opt/dev/workspaces/php_workspaces/chorke_site_webapp /var/www/html/chorke_site_webapp ls -lah /var/www/html/...") |
No edit summary |
||
Line 2: | Line 2: | ||
# soft link or symbolic link for linux | # soft link or symbolic link for linux | ||
ln -s /opt/dev/workspaces/php_workspaces/chorke_site_webapp /var/www/html/chorke_site_webapp | ln -s /opt/dev/workspaces/php_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/php_workspaces/chorke_site_webapp | # lrwxrwxrwx. 1 root root 29 Jul 29 2019 /var/www/html/chorke_site_webapp -> /opt/dev/workspaces/php_workspaces/chorke_site_webapp | ||
Line 10: | Line 11: | ||
@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\php_workspaces\chorke_site_webapp | mklink /D F:\var\www\html\chorke_site_webapp E:\dev\workspaces\php_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\php_workspaces\chorke_site_webapp] | @REM 07/29/2019 05:31 PM <SYMLINKD> chorke_site_webapp [E:\dev\workspaces\php_workspaces\chorke_site_webapp] | ||
</source> | </source> |
Revision as of 04:26, 29 July 2019
# soft link or symbolic link for linux
ln -s /opt/dev/workspaces/php_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/php_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\php_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\php_workspaces\chorke_site_webapp]