Co robi BASENAME użycie. Konsola is printed to standard output. This is useful mostly in a script.

Czy przydatne?

Polecenie basename

Wykonanie, użycie: Remove leading directory components from a path. If suffix is given, remove that also. The result is printed to standard output. This is useful mostly in a script when you need to work with a filename but can't predict its full path in every instance

Opcje wykonania basename w konsoli

--help

Print help message and then exit.

--version

Print the version number and then exit.

Przykłady basename działanie w Słownik polecenie B