surfraw: 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

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 Debian possible default full paths are:

/usr/bin/surfraw - from package: surfraw

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