Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 669
Delirium tremens Avatar asked Jul 07 '09 19:07

Delirium tremens


People also ask

What does a dot in front of a file name mean?

This naming convention comes from Unix-like operating systems (such as Linux or OSX) where it means a hidden file or directory. It works anywhere, but its primary use is to hide configuration files in your home directory (i.e. ~/. cache/ or ~/. plan) They are frequently called dot files.

What are file names that are preceded by a dot?

In Unix-like operating systems, any file or folder that starts with a dot character (for example, /home/user/. config), commonly called a dot file or dotfile, is to be treated as hidden – that is, the ls command does not display them unless the -a or -A flags ( ls -a or ls -A ) are used.

What does a period in front of a file name mean?

A dot at the beginning of a filename hides the file in common file managers and for common shell programs. The reason is historical, when ls hid the special directories . and .. by hiding everything which starts with a period.

What do you call the parts of a file name?

Windows file names have two parts; the file's name, then a period followed by the extension (suffix). The extension is a three- or four-letter abbreviation that signifies the file type. For example, in letter. docx the filename is letter and the extension is docx.


2 Answers

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

basename - strip directory and suffix from filenames

like image 170
skaffman Avatar answered Sep 28 '22 19:09

skaffman


The "base name," "basename," "primary name," "filename," "file name," or the "file."

like image 25
Nosredna Avatar answered Sep 28 '22 17:09

Nosredna