← Command encyclopedia

basename

Strip directory from a path.

Executable in the CoreQ simulator

Syntax

basename PATH [SUFFIX]

Practise it now in the Linux sandbox. Type man basename there for a quick summary.

Related commands

dirnamepwdcdlstreemkdirrmdirtouch