how to get current directory in linux code example Example: get current path unix #Will generate the current directory pwd