---

Using Linux Dirname Command in Bash Scripts

The dirname command in Linux extracts the directory path from a file path. Learn some practical examples of using dirname command in bash scripts.