Unexpected link in /media

I’ve been messing about with the system. So no change there, then. But reading a book on the Linux Command Line is bound to have that effect.
In particular I played about with creating soft links and now I find the following:

keith@T500:~$ ls -l /media
total 8
drwxr-x—+ 2 root root 4096 Mar 30 18:17 keith
drwxr-xr-x 2 root root 4096 Mar 3 14:52 usb
keith@T500:~$ ls -l /media/keith
total 0
lrwxrwxrwx 1 root root 12 Mar 1 14:33 keith → /media/keith
keith@T500:~$ ls -l /media/usb
total 0
keith@T500:~$

I wasn’t expecting to find that (blue) link and am reluctant to delete it without confirmation from the experts.
Similarly, I wasn’t expecting to see usb listed, although it does change to a USB’s name when one is inserted.

Advice would be welcome on what I am seeing.
Thank you

Yeah you’re safe to delete that symlink … it just point up a directory to /media/keith (so effectively just brings you back to the same place) … deleting a soft symlink does not delete the file/directory it points to if that’s what you’re worried about :wink:

sudo rm -v /media/keith/keith

Thank you, Mark.
You know how easily I screw things up, so I thought it as well to check!

I’m enjoying reading about Linux commands and can see just how very powerful they are. So powerful, in fact, that you are likely to see me back here with some really good cock-ups.

Keith

LOL :slight_smile:

The CLI is a great tool that really unleashes the power of Linux, keep digging I’m sure you’ll enjoy it.