DIRNAME(1) | ユーザーコマンド | DIRNAME(1) |
dirname - ファイル名の最後の要素を削除する
dirname [OPTION] NAME...
NAME の最後の / (スラッシュ) 以降の要素 (/ を含む) を削除して表示します。 NAME に / が含まれない場合は、(カレントディレクトリを意味する) '.' を表示します。
GNU coreutils のオンラインヘルプ: <https://www.gnu.org/software/coreutils/> 翻訳に関するバグは <https://translationproject.org/team/ja.html> に連絡してください。 詳細な文書 <https://www.gnu.org/software/coreutils/dirname> (ローカルでは info '(coreutils) dirname invocation' で参照可能)。
作者 David MacKenzie および Jim Meyering。
Copyright © 2020 Free Software Foundation, Inc.
ライセンス GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
basename(1), readlink(1)
dirname の完全なマニュアルは Texinfo マニュアルとして整備されている。もし、 info および dirname のプログラムが正しくインストールされているならば、コマンド
を使用すると完全なマニュアルを読むことができるはずだ。
2021年5月 | GNU coreutils |