7

I thought this would have been asked a million times already, but my search didn't turn up anything.

Can I safely use an email address as a linux directory name? In other words is any valid email address also a valid directory name? If not are there any characters in particular that I would have to filter first?

themik81
  • 401
  • 6
  • 17

1 Answers1

11

No, almost.

The '/' character is allowed in emails (http://en.wikipedia.org/wiki/Email_address#Syntax) but not in linux filenames.

See SO Answer here: Are there any invalid linux filenames?

Community
  • 1
  • 1
waldol1
  • 1,841
  • 2
  • 18
  • 22