Get drectory name or file name using shell
Don’t have basename or dirname?
Don’t want to start another process every time you need a path?
Not a problem.
dirname == ${path%/*}
basename == ${path##*/}
no comments yet.
Adding memory FS on Linux »« Easiest 3×3 Rubik’s Cube Tutorial
