Commands not working
This is a discussion about Commands not working in the Everything Linux category; Hey people I've got a strange problem with Unix commands. Yesterday I configured my firewall using iptables. Today I wanted to modify it a bit so I log in as root and type iptables -L to check the rules but I get this error: bash: iptables: command not found No other iptables commands work either.
Hey people I've got a strange problem with Unix commands. Yesterday I configured my firewall using iptables. Today I wanted to modify it a bit so I log in as root and type iptables -L to check the rules but I get this error: bash: iptables: command not found
No other iptables commands work either. Any ideas why this has happend?
Thanks,
No other iptables commands work either. Any ideas why this has happend?
Thanks,
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Feb 26
Feb 28
0
1 minute
Responses to this topic
Did you try:
/usr/sbin/iptables
Or:
/sbin/iptables
?
/usr/sbin/iptables
Or:
/sbin/iptables
?
OP
When I try that I get a No such file or directory error.
Any ideas?
Any ideas?
when you're getting the error, what is the output of:
1. "id -a"
and
2. "echo $PATH"
??
1. "id -a"
and
2. "echo $PATH"
??