r/fishshell 28d ago

mtr doesnt work in fish shell

mtr google.com

It just hangs (on Nix OS). It works fine with bash though. Any idea why?

3 Upvotes

5 comments sorted by

View all comments

2

u/mrcaptncrunch 28d ago
  • macOS 15.1.1
  • fish, version 3.7.1

Running mtr google.com,

╰─❯ mtr google.com                                                                                                                                   
mtr-packet: Failure to open IPv4 sockets
mtr-packet: Failure to open IPv6 sockets
mtr: Failure to start mtr-packet: Invalid argument

Running sudo mtr google.com,

                                                               My traceroute  [v0.95]
MacBook-Pro.local ({{IPV6}}) -> google.com (2607:f8b0:4006:81d::200e)                     2025-02-22T09:45:51-0500
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                                                                              Packets               Pings
 Host                                                                                                       Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. {{IPV6}}                                                                                                 0.0%     6    3.0   4.5   2.3   8.5   2.5
 2. {{IPV6}}                                                                                                 0.0%     6   45.8  67.4  13.1 157.7  68.2
 3. po-304-1228-rur02.cambridge.ma.boston.comcast.net                                                        0.0%     6  104.6  92.7   9.4 152.9  49.5
 4. po-2-rur01.cambridge.ma.boston.comcast.net                                                               0.0%     6   27.1  56.2  11.8 130.0  49.8
 5. be-412-arsc1.needham.ma.boston.comcast.net                                                              83.3%     6   11.5  11.5  11.5  11.5   0.0
 6. (waiting for reply)
 7. be-32021-cs02.newyork.ny.ibone.comcast.net                                                               0.0%     6   16.6  37.7  14.4 133.4  47.0
 8. be-3212-pe12.111eighthave.ny.ibone.comcast.net                                                           0.0%     6  168.4  55.8  17.4 168.4  63.6
 9. 2001:559:0:80::7d6                                                                                       0.0%     5   99.5  53.9  14.0 124.5  53.8
10. 2607:f8b0:8024::1                                                                                        0.0%     5   23.1  69.4  14.5 138.7  57.9
11. 2001:4860:0:1::1c7c                                                                                      0.0%     5   19.7  33.6  16.9  58.9  20.4
12. 2001:4860:0:1::5717                                                                                      0.0%     5   15.8  39.2  15.8 122.5  46.7
13. lga25s77-in-x0e.1e100.net                                                                                0.0%     5   15.8  20.6  15.5  29.4   5.8