You are not logged in.
hi
if I execute ifconfig/iftop I get this:
ifconfig will not execute and completion _ifconfig exists.
iftop will not execute and completion _iftop exists.
Maybe I hav this problem with some other commands too...
I Don't understand what this means. Can anyone help me?
aligator
Last edited by aligator (2014-02-24 16:19:41)
Offline
Do you have iftop and net-tools installed?
Offline
Hello aligator, a couple suggestions for you. First of all, when posting terminal output (or code snippets), please use code tags, like so:
not using code tags makes unicorns cry
Second, you are far better off switching to iproute2 instead of using ifconfig. ifconfig has been deprecated for a while now.
All the best,
-HG
Offline
ifconfig might be considered "deprecated", but the kernel interfaces it uses will probably never get removed, so ifconfig will remain functional. I'm not even sure it's possible to remove these kernel interfaces when doing a manual kernel compile.
karol is right, aligator doesn't have these tools installed. But the bash-completion files for them are installed (they're part of the generic bash-completion package), and that's why the messages.
Offline
https://www.archlinux.org/news/deprecat … net-tools/
https://wiki.archlinux.org/index.php/FA … ge_is_X.3F
@Gusar
I don't see completion for ifconfig, but I know nothing about completion, so I may be looking in the wrong place.
$ pkgfile iftop
extra/bash-completion
community/iftop
$ pkgfile ifconfig
core/net-tools
Offline
I think OP is using zsh.
$ pkgfile _iftop
extra/zsh
$ pkgfile _ifconfig
extra/zsh
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@Gusar
I don't see completion for ifconfig, but I know nothing about completion, so I may be looking in the wrong place.
Oops, I must admit, I only checked iftop . It seems WorMzy is onto something
Offline
hi
Thank you for the answers. Yes I use zsh.
And I hadn't installed the net-tools and iftop. But because there was no "command not found", I didn't think that it isn't installed...
Thank you for telling me that it is deprecated.
aligator
Last edited by aligator (2014-02-24 16:20:11)
Offline
See https://wiki.archlinux.org/index.php/Pkgfile for how to enable "Command not found" hook.
Before:
$ iftop
bash: iftop: command not found
After:
$ iftop
iftop may be found in the following packages:
community/iftop 1.0pre4-1 /usr/bin/iftop
Edit:
Thank you for telling me that it is deprecated.
https://www.archlinux.org/news/deprecat … net-tools/
Last edited by karol (2014-02-24 16:26:49)
Offline