From owner-freebsd-questions Sun Mar 9 18:11:58 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84E4937B404 for ; Sun, 9 Mar 2003 18:11:57 -0800 (PST) Received: from tomts25-srv.bellnexxia.net (tomts25-srv.bellnexxia.net [209.226.175.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3652D43F93 for ; Sun, 9 Mar 2003 18:11:56 -0800 (PST) (envelope-from david@skytrackercanada.com) Received: from d.tracker ([65.95.214.144]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030310021155.YRNX15615.tomts25-srv.bellnexxia.net@d.tracker> for ; Sun, 9 Mar 2003 21:11:55 -0500 Received: (from david@localhost) by d.tracker (8.11.3/8.11.3) id h2A2Bto56180 for questions@freebsd.org; Sun, 9 Mar 2003 21:11:55 -0500 (EST) (envelope-from david) Date: Sun, 9 Mar 2003 21:11:54 -0500 From: David Banning To: questions@freebsd.org Subject: identifying my network address Message-ID: <20030309211154.A56130@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am running an Xwindow on a windows box. I need a script to tell me what my network address is so that I can set my DISPLAY varible correctly eg: 192.168.1.2:0.0 Any idea what command would be useful for this purpose? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message