HowTo: Make a Symbolic Link To /bin Directory

last updated in Categories ,

How to make a symbolic link to /bin in /nas/users/foo directory?

You need to use the ln comand make links between files. In this example create a a symbolic link to /bin as /nas/users/foo/bin, enter:

cd /nas/users/foo/
ln -s /bin .

OR use a single command as follows:

ln -s /bin /nas/users/foo/bin

To verify your settings type:
$ ls -l
$ ls -ld bin

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):