$ whatis dirname

dirname dirname (1) - strip last component from file name

dirname basename (1) - deliver portions of path names

dirname dirname (3c) - report the parent directory name of a file path name

Examples:


  1. dirname /usr/bin/sort
  2. dirname /usr/gnu/bin/date

Please click on " man dirname " to see the Manual Page for this command.


Previous Home Page Next


Contact us      |      About us      |      Term of use      |       Copyright © 2000-2023 MyWebUniversity.com ™