Tuesday, December 18, 2012

How to create symbolic link in unix or linux


-->


To create a symbolic link in Unix or Linux, at the shell prompt, enter the following command:

tsusilkumar# ln -s {target-filename} {symbolic-filename}


For example create softlink for /webroot/home/httpd/test.com/index.php as 


/home/surya/index.php,

enter the following command:

#ln -s /webroot/home/httpd/test.com/index.php /home/surya/index.ph
p

No comments:

Post a Comment