Hi above script works for checking traffic for an ip address im trying to view the check_traffic script by cat'ing it but I get the above error, can anyone help please? im logged in as root on solaris 8
Not an error. Assume that code is run by username user1, as root:
su - user1
user1> which gew
exit
gew is a command or an alias. On safe systems root should never have all of those oddball aliases and PATH values assigned. You have to go to whoever runs it to decode it.
no, there is a lot more involved to checking the trafic i.e if I was to do this manually I would first have to use ssh and then telnet, so I know the above is wrong
# which gew
no gew in /opt/xdf/bin /opt/xdf-4.3.2/bin /bin /opt/tools /opt/tools/swdl/swdl-1.7.6p1/bin /usr/sbin /usr/local/bin /usr/local/sbin /opt/rsync-2.6.2/bin