From: nunojsilva@invalid.invalid   
      
   On 2026-01-17, Computer Nerd Kev wrote:   
      
   > Marco Moock wrote:   
   >> On 16.01.2026 07:53 Computer Nerd Kev wrote:   
   >>   
   >>> Some Linux distributions still ship with ifconfig and without ip.   
   >>   
   >> Which one?   
   >   
   > Tiny Core Linux.   
   >   
   >>> Plus ifconfig is common between different UNIX-type OSs.   
   >>   
   >> The command name is, but the options are different.   
   >   
   > Yeah, of course, but it's for the same purpose of "configure a   
   > network interface".   
   >   
   >> AIX and FreeBSD have -d, Linux doesn't, just for example.   
   >   
   > Ahh, "ifconfig --help" (GNU Inetutils) gives me:   
   > " -d, -p, --dstaddr=ADDR, --peer=ADDR   
   > set destination (peer) address to ADDR"   
   >   
   > But it seems it doesn't match FreeBSD's "-d":   
   > "-d Display only the interfaces that are down."   
   > https://man.freebsd.org/cgi/man.cgi?query=ifconfig   
   >   
   >> Various other differences exist, just compare the options listed in the   
   >> manpages.   
   >   
   > Yes, but they're similar in purpose and general behaviour. Such is   
   > to be expected between OSs. It's a really dumb argument for   
   > omitting it entirely. Better change the "cp" command too in that   
   > case because on BSD you don't get the "-b", "-u", etc. options like   
   > in GNU Coreutils "cp" that's typical on Linux, so that's different   
   > too, and so on...   
      
   (There's a difference between these two cases, cp ought to have the same   
   base set of features on different systems and implementations, as   
   specified by IEEE 1003.1, while ifconfig isn't in there, so unless it's   
   the same utility or a fork of the codebase, there's no guarantee that   
   it'll share features, option names, syntax or output formats.   
      
   Kind of like killall isn't specified and can either kill all processes   
   or kill processes by name, depending on the implementation.)   
      
   https://pubs.opengroup.org/onlinepubs/9799919799/utilities/cp.html   
      
   --   
   Nuno Silva   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|