What did I do wrong while creating a symbolic link to /tmp
?
$ sudo mkdir /mnt/tmp/
$ ln -s /mnt/tmp/ /tmp/
$ ls -alh /tmp
total 12K
drwxrwxrwt 3 root root 4.0K Sep 28 05:29 .
drwxr-xr-x 23 root root 4.0K Aug 26 05:44 ..
lrwxrwxrwx 1 ubuntu ubuntu 9 Sep 28 04:53 tmp -> /mnt/tmp/
drwx------ 6 ubuntu ubuntu 4.0K Sep 28 04:54 tmpDcI8v2
/tmp
to/mnt/tmp
. Did you actually want to make a symlink from/mnt/tmp
to/tmp
? – Zanna♦ Sep 28 '16 at 5:47/tmp
to/mnt/tmp
. – user977828 Sep 28 '16 at 8:54