Explain what is the maximum length for a filename under Linux?

Category: LinuxExplain what is the maximum length for a filename under Linux?
Editor">Editor Staff asked 2 years ago

Explain what is the maximum length for a filename under Linux?

1 Answers
Editor">Editor Staff answered 2 years ago

Any filename can have a maximum of 255 characters. This limit does not include the path name, so therefore the entire pathname and filename could well exceed 255 characters.