Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My home directory has a symlink to my home directory. I'm not sure how it got there. Is it safe to delete?

~ steve$  ls -l steve
lrwxr-xr-x  1 steve  staff  12 Jun 21  2012 steve -> /Users/steve

Home directory in Finder

share|improve this question
up vote 7 down vote accepted

In command line you´ve more power with the following code line

cd ~ && unlink steve

so you´re shure that only the symlink will be deleted and not the complete home path :)

share|improve this answer

Simply running rm ~/steve is safe:

  1. specifying "~/steve" (not "~/steve/", with a trailing slash) means rm will work directly on the link and not follow it, as it would if you enter "~/steve/".

  2. even if you mistyped "~/steve/", deleting with rm will not delete a directory unless you give it a "-r" option.

share|improve this answer

Yes. Providing you don't delete the contents of the symlink and just the symlink, you can delete the symlink fine. Just use ⌘⌫ on the symlink from Finder.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.