Linux: MAX File/Dir Name Length

#bytes for a file/dir name: 255

IMPORTANT:
The maximum number of characters for a file/dir name varies since Non-ASCII characters occupies several bytes.

$ getconf -a | awk '/^NAME_MAX/ {print $2}'