Jump to content
Compatible Support Forums
Sign in to follow this  
ned99

Commands not working

Recommended Posts

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,

Share this post


Link to post

When I try that I get a No such file or directory error.

 

Any ideas?

Share this post


Link to post

when you're getting the error, what is the output of:

1. "id -a"

and

2. "echo $PATH"

 

??

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×