Cross Platform Way to get Parent Path

Windows

$(Split-Path $pwd)

Linux/MacOS

dirname $(pwd)
Have a question⁉ Contact me.

bash

6 Words

2021-05-28