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