Linux Today: Linux News On Internet Time.





More on LinuxToday


Linux dirname command explained for beginners (4 examples)

Jul 21, 2017, 07:00 (0 Talkback[s])
(Other stories by Himanshu Arora)

Are you a new Linux user? Does your work involve shell scripting? If your answer to both these questions is yes, the tool we'll be discussing here will likely interest you. The name of the tool is dirname, and it's mostly used in situations where-in you need to strip the last component from an absolute file-name.

Complete Story