Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix dirname command

Quick links

About dirname
Syntax
Examples
Related commands
Linux / Unix main page

About dirname

Deliver portions of path names.

Syntax

basename string [ suffix ]

stringCommand line or file information.
suffixString with no special significance attached to any of the characters it contains

* The command basename is generally used inside substitution marks ('') within shell procedures

Examples

basename $HOME/personal/mail - would return the basename of mail.

Related commands

expr

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope