Search code examples
filenamesnomenclature

Before-the-dot-in-a-file-name, what is it called?


After-the-dot-in-a-file-name, it is called extension.


Solution

  • It's called the basename. In fact, there's a unix/linux command for it:

    basename - strip directory and suffix from filenames