Date: Tue, 22 Jan 2002 08:20:01 +0100 (CET) From: Leif Neland <leifn@neland.dk> To: Jordan Breeding <jordan.breeding@attbi.com> Cc: Giorgos Keramidas <keramida@FreeBSD.ORG>, <freebsd-current@FreeBSD.ORG> Subject: Re: Questions about -current (Linuxism's) Message-ID: <20020122080244.H48678-100000@arnold.neland.dk> In-Reply-To: <3C4D0E1B.70005@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020122080244.H48678-100000>