• FrostyPolicy@suppo.fi
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    On Linux file systems you can use any character except NULL, and / is a reserved character.

    E.g. on ext-4 “All characters and character sequences permitted, except for NULL (‘\0’), ‘/’, and the special file names “.” and “…” which are reserved for indicating (respectively) current and parent directories.”

    • xthexder@l.sw0.com
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      I once accidentally created a file with a newline character in it… it was pretty tricky to fix from command line.