pwdx: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/pwdx - from package: procps

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/pwdx - from package: procps

You may install the required package with command apt-get install {package}
Error in other languages:
pwdx: bevel nie gevind nie
pwdx: comandă negăsită
pwdx: comando não encontrado
pwdx: commande introuvable
pwdx: command not found
pwdx: käsku ei ole
pwdx: không tìm thấy lệnh
pwdx: komanda nerasta
pwdx: Kommando nicht gefunden.
pwdx: kommandot finns inte
pwdx: komut yok
pwdx: nie znaleziono polecenia
pwdx: níor aimsíodh an t-ordú
pwdx: no se encontró la orden
pwdx: no s'ha trobat l'ordre
pwdx: opdracht niet gevonden
pwdx: parancs nem található
pwdx: perintah tidak ditemukan
pwdx: príkaz nenájdený
pwdx: příkaz nenalezen
pwdx: команда не найдена
pwdx: командата не е открита
pwdx: 命令找不到
pwdx: コマンドが見つかりません