Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

basename without a command?

This interview card answers: basename without a command? Cut up to last slash. Folder part. No subshell, faster.

basename without a command? Cut up to last slash. Folder part. No subshell, faster.
basename without a command? · Download PNG
Read card text

What this card says

What it is

Cut up to last slash.

${p##*/}

Why it matters

Folder part.

${p%/*}

How / example

No subshell, faster.

See all AWS revision cards