Live briefing
Everything about Basename
Shell command for extracting the last name from a path
basename is a shell command for extracting the last name of a file path. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: BasenameA 5-minute orientation
- Go sideways: DirnameA closely related topic
- Go sideways: Wc (Unix)A closely related topic
📖 Definitions
Noun A filename without any path or directory information.
🏆 Landmark papers (most cited)
- No matching papers found.
📚 Books worth reading
Open Library didn't respond; try again in a moment.
🔗 Related topics
- Dirname dirname is a shell command for extracting the directory path portion of a path, without the last name. The command is specified in the Single UNIX Specification…
- Wc (Unix) wc (short for word count) is a command in Unix, Plan 9, Inferno, and operating systems that are Unix-like. The program reads either standard input or a…
- Which (command) In computing, which is a command for various operating systems used to identify the location of executables. The command is available in Unix and Unix-like…
- Uniq uniq is a utility command on Unix, Plan 9, Inferno, and Unix-like operating systems which, when fed a text file or standard input, outputs the text with…
- Uname uname (short for unix name) is a computer program in Unix and Unix-like computer operating systems that prints the name, version and other details about…
- Chown chown /ˈtʃoʊn/, short for change owner, is a shell command for changing the owning user of Unix-based file system files – including special files such…
- Cmp (Unix) cmp is a shell command that compares two files of any type and reports differences. By default, it outputs nothing if the files match. If they differ,…
- Csplit csplit is a shell command for splitting a file into two or more smaller files determined by context lines. The command is commonly available on Unix and…