Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Localhost connection refused
- To: tlug@example.com
- Subject: Re: Localhost connection refused
- From: Shimpei Yamashita <shimpei@example.com>
- Date: Sun, 8 Jul 2001 19:32:49 +0900
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: tlug@example.com
- In-Reply-To: <01070816303206.13271@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <shimpei@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <D6LuWD.A.qhD.ElDS7@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.3.18i-ja0
On Sun, Jul 08, 2001 at 04:30:32PM +0900, John De Hoog wrote: > Jonathan Byrne wrote... > > John De Hoog (dehoog@example.com) wrote: > > > bash: ipchains: command not found > > > > You're either: > > > > 1) Not root > > 2) Are root, but did not use su - > > > > In any event, you must be root to do this. If you did > > not use su - then you need to use the complete path to > > the command: > > > > /sbin/ipchains -L -v > > I did su root. When I go to /sbin and try it, this is what we get: > > [root@example.com /sbin]# ipchains -L -v > bash: ipchains: command not found > [root@example.com /sbin]# > > But a check of the directory shows that ipchains is in fact in /sbin. That means that /sbin is not in your path. If you find yourself needing programs in /sbin on a regular basis, edit your .bashrc and add it to the list of paths. In the meantime, you can run it by typing the full path name: /sbin/ipchains or type the relative path: ./ipchains -- Shimpei Yamashita http://www.shimpei.org/
- Follow-Ups:
- Re: Localhost connection refused
- From: Scott <scottro@example.com>
- References:
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Localhost connection refused
- Next by Date: Re: Localhost connection refused
- Prev by thread: Re: Localhost connection refused
- Next by thread: Re: Localhost connection refused
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links