Spaces are allowed in filenames, as you have observed. If you look at the “most UNIX filesystems” entry in this chart in wikipedia, you’ll notice: Any 8-bit character set is allowed.
How do you write file names with spaces in Linux?
To access a directory having space in between the name use <space> to access it. You can also use Tab button to auto completion of name.
Are spaces allowed in file names?
Don’t start or end your filename with a space, period, hyphen, or underline. Keep your filenames to a reasonable length and be sure they are under 31 characters. Most operating systems are case sensitive; always use lowercase. Avoid using spaces and underscores; use a hyphen instead.