[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ping



On Sun 13 Nov 2022 at 14:50:58 (+0000), Andrew M.A. Cater wrote:
> On Sun, Nov 13, 2022 at 06:04:51AM -0800, peter@easthope.ca wrote:
> > root@joule:/home/root# /bin/ping -c 3  192.168.0.12
> > PING 192.168.0.12 (192.168.0.12) 56(84) bytes of data.
> > 64 bytes from 192.168.0.12: icmp_seq=1 ttl=64 time=0.079 ms
> > 64 bytes from 192.168.0.12: icmp_seq=2 ttl=64 time=0.114 ms
> > 64 bytes from 192.168.0.12: icmp_seq=3 ttl=64 time=0.113 ms
> > 
> > --- 192.168.0.12 ping statistics ---
> > 3 packets transmitted, 3 received, 0% packet loss, time 2041ms
> > rtt min/avg/max/mdev = 0.079/0.102/0.114/0.016 ms
> > root@joule:/home/root# echo $PATH
> > /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.

Nobody has commented on that final period yet …  …  …  …  …  …   ↑

> > root@joule:/home/root# which ping
> > /bin/ping
> > root@joule:/home/root# ping -c 3  192.168.0.12
> > 
> > No response.
> > 
> > Ideas?
> 
> How did you become root? If with su, remember to now use su -
> 
> If with sudo, use sudo -s, maybe.

Perhaps https://lists.debian.org/debian-user/2022/02/msg00120.html
gives you a hint of explanation.

Cheers,
David.

Reply to: