Compatible Support Forums: Commands not working

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Commands not working

#1 User is offline   ned99 

  • stranger
  • Group: Members
  • Posts: 16
  • Joined: 20-February 05

Posted 26 February 2005 - 11:17 PM

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,
0

#2 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 27 February 2005 - 12:00 AM

Did you try:

/usr/sbin/iptables

Or:

/sbin/iptables

?
0

#3 User is offline   ned99 

  • stranger
  • Group: Members
  • Posts: 16
  • Joined: 20-February 05

Posted 27 February 2005 - 07:18 PM

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

Any ideas?
0

#4 User is offline   martouf 

  • enthusiast
  • Group: Members
  • Posts: 338
  • Joined: 09-July 04

Posted 28 February 2005 - 05:16 AM

when you're getting the error, what is the output of:
1. "id -a"
and
2. "echo $PATH"

??
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users