Forrest logo
back to context overview

basename

List of commands for basename:

  • basename:tldr:9ef07 basename: Show only the file name from a path.
    $ basename ${filename}
    try on your machine
    explain this command
  • basename:tldr:bb58c basename: Show only the file name from a path, with a suffix removed.
    $ basename ${filename} ${suffix}
    try on your machine
    explain this command
back to context overview