Bootstrap FreeKB - Linux Commands - unlink
Linux Commands - unlink

Updated:   |  Linux Commands articles

Let's say the ln command was used to create a symblic link.

ln -s /usr/local/nodejs/node-v20.10.0-linux-x64/bin/node /usr/bin/node

 

The ls (list) command with the -l (long) flag can be used to see that /usr/bin/node is symbolically linked to /usr/local/nodejs/node-v20.10.0-linux-x64/bin/node in this example.

~]# ls -l /usr/bin/node
lrwxrwxrwx.  1  root root  183  May 23 18:53  /usr/bin/node -> /usr/local/nodejs/node-v20.10.0-linux-x64/bin/node

 

The unlink command can be used to remove the symbolic link.

unlink /usr/bin/node

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 88e034 in the box below so that we can be sure you are a human.