From owner-freebsd-current Mon Jan 21 23:20:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from arnold.neland.dk (0x3ef31288.albnxx2.adsl.tele.dk [62.243.18.136]) by hub.freebsd.org (Postfix) with ESMTP id C9A8D37B400; Mon, 21 Jan 2002 23:20:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.6/8.11.6) with ESMTP id g0M7K1B53481; Tue, 22 Jan 2002 08:20:01 +0100 (CET) (envelope-from leifn@neland.dk) Date: Tue, 22 Jan 2002 08:20:01 +0100 (CET) From: Leif Neland To: Jordan Breeding Cc: Giorgos Keramidas , Subject: Re: Questions about -current (Linuxism's) In-Reply-To: <3C4D0E1B.70005@attbi.com> Message-ID: <20020122080244.H48678-100000@arnold.neland.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG While I realize you can't emulate the switches on any command on any os, I found a few "linuxism's" missing. Eg: I find it illogical, that "route" can change, and also display the route to a single host, but route can not display the entire route table. In linux it is simply "route", in windows it is "route print", but in FreeBSD it is "netstat -r" It is simple to add an information "Sorry Dave, I can not do that. Try netstat -r instead" for "route print" (I just did), or adding similar information when no proper keyword is given. Similarly on linux "netstat -ap"; the p gives the pid which has the connection open. On FreeBSD, this option is not available, instead sockstat provides similar (better; it shows the path to the command) information. As the -p is not used for netstat, it could print "use sockstat instead". It could help in heterogenious environments. Or perhaps this would just start a slide down a slippery slope... There is always diffence between commands on different os's. Some are even "dangerous". Eg. if you type "hostname -f" on a sun, you change the hostname to "-f"... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message