如何解决iptables: command not found
Debian 7.6发生的问题?
batman@gotham:~$ uname -a
Linux gotham 3.14-0.bpo.2-amd64 #1 SMP Debian 3.14.13-2~bpo70+1 (2014-07-31) x86_64 GNU/Linux
batman@gotham:~$ iptables -L
bash: iptables: command not found
batman@gotham:~$ sudo apt-get install iptables
[sudo] password for batman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
batman@gotham:~$
我在Google上进行了广泛的搜索,大多数答案都可以追溯到2005年和2009年的CentOS和Fedora。
iptables应该在您中,
—
Valentin Bajrami 2014年
PATH
所以sudo
您不见了。
echo $PATH
什么?