Live briefing
Everything about Dirname
Shell command for extracting the directory path portion from a path
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 and is primarily used in shell scripts. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: DirnameA 5-minute orientation
- Go sideways: BasenameA closely related topic
- Go sideways: Wc (Unix)A closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
- No matching papers found.
📚 Books worth reading
Open Library didn't respond; try again in a moment.
🔗 Related topics
- Basename basename is a shell command for extracting the last name of a file path. The command was introduced in X/Open Portability Guidelines issue 2 of 1987. It…
- 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…
- 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…
- Ln (Unix) ln is a shell command for creating a link file to an existing file or directory. By default, the command creates a hard link, but with the -s command line…
- 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…
- Nl (Unix) nl is a Unix utility for numbering lines, either from a file or from standard input, reproducing output on standard output. nl is part of the X/Open Portability…
- Path (computing) A path (or filepath, file path, pathname, or similar) is a string that uniquely identifies an item in a hierarchical file system. Generally, a path is…
- Xargs xargs (short for "extended arguments") is a command on Unix and most Unix-like operating systems used to build and execute commands from standard input…