rawshark: 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/sbin/rawshark - from package: wireshark

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

On Debian possible default full paths are:

/usr/bin/rawshark - from package: wireshark-common

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