Total Pageviews

Tuesday, June 21, 2016

symbolic link soalris link unlink and remove command




desktop:~$ mkdir mydir
desktop:~$ ln -s mydir  mylink
desktop:~$ ls -l mylink
lrwxrwxrwx 1 oracle oracle 3 2016-04-06 14:00 mylink -> mydir
desktop:~$ rm mylink
desktop:~$ ls -l mylink
ls: cannot access mylink: No such file or directory
desktop:~$ ls -l mydir
total 0
desktop:~$



to unlink link:

unlink linkname

to remove link:

rm linkname


No comments:

Post a Comment