Name
basename Pfad — /bin
coreutilsstdin stdout - datei -- opt --help --version
Der Befehl basename
gibt die letzte
Komponente in einem Dateipfad aus. Für das obige Beispiel wäre
dies:
$ basename /home/schmidt/verzeichnis verzeichnis
Get LINUX: kurz & gut now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.