Wednesday, February 3, 2016

How to create soft link with ln command in Linux or UNIX


How to create soft link with ln command in Linux or UNIX



Syntax:
ln -s Actual-filename-completepath  soft link-filename

Create:
cd desired-directory
ln -s /u01/oracle/product/12.1.0.2.0/dbhome_1/lib/libnnz12.so libnnz12.so
 

View soft link files:
cd desired-directory
ls -lrt | grep "^l"
 

Delete soft link:
cd desired-directory
unlink
or
rm

No comments:

Post a Comment