Still using these obsolete Linux commands? They might be popular from the olden days but perhaps it is time to look for alternatives.

  • Admiral Patrick ( ptz@dubvee.org ) 
    link
    fedilink
    English
    arrow-up
    27
    ·
    8 months ago

    The thing about these deprecated tools is that the replacements either suck, are too convoluted, don’t give you the same info, or are overly verbose/obtuse.

    ifconfig gave you the most relevant information for the network interfaces almost like a dashboard: IP, MAC address, link status, TX/RX packet counts and errors, etc. You can get that with ip but you’ve got to add a bunch of arguments, make multiple calls with different arguments, and it’s still not quite what ifconfig was.

    Similarly, iwconfig gave you that same “dashboard” like information for your wireless adapters. I use iw to configure but iwconfig was my go-to for viewing useful information about it. Don’t get me started on how much I hate iw’s syntax and verbosity.

    They can pry scp out of my cold dead hands.

    At least nftables is syntax-compatible.

  • twinnie ( twinnie@feddit.uk ) 
    link
    fedilink
    arrow-up
    16
    ·
    8 months ago

    Why did they even get rid of the net-tools stuff? Since everyone is still using them why not just bring them back? I don’t see how they can be a security issue. When I set up a new distro one of the first things I do is install it again.

    Even the article says that the reason scp is so popular is that it copies the cp syntax. Why constantly force people to relearn jobs they already know how to do?

    Rustscan is supposed to be so much faster than nmap but I still use nmap because I can’t be bothered learning another tool. Just use the same syntax for gods sake.

  • cecilkorik ( cecilkorik@piefed.ca ) 
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months ago

    Not only will I continue to use these commands, when/if they are ever officially removed, I will reimplement them myself because I am that intent on continuing to use them for the rest of my life. In almost all cases, the reasons we still use those commands is because they truly are the best tool for the job, at least from a UI/UX usability point of view.

    And, you can accuse me of being stuck in familiarity and traditional thinking and you’re probably right, but I think the alternatives mentioned are simply garbage UI/UX. Their implementations may be beautiful and perfect under the hood, I don’t care. I will be happy to fully take advantage of that functionality and implementation when I write a wrapper around them to implement the deprecated command line interface instead.

    Also, the article is straight up wrong in some places:

    If you read an old Linux book from before 2010, you’ll find the arp, route and other such networking commands that do not exist in your Linux system anymore. You cannot even install them.

    That is simply not true. They are perfectly installable and work perfectly well. I’m running Debian 13 and it still includes a package for net-tools.

    You will have to pry things like route, scp and ifconfig out of my cold, hands on my cold, dead keyboard. Not going to happen. Period.

    • nyan ( nyan@lemmy.cafe ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      Certainly whoever wrote that didn’t do a lot of distro-hopping. As far as I can tell, Gentoo still includes sys-apps/net-tools in the @system set, meaning that it’s not only installed by default, but it’s quite difficult to remove.

      • cecilkorik ( cecilkorik@piefed.ca ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        I suspect at least some AI was used in the creation of the article, since it feels like exactly the kind of hallucination an AI would make with the utmost confidence, after fixating on some out of context upvoted post from some potentially ignorant forum-user, but honestly the flood of incorrect slop is so common nowadays it doesn’t even feel worth pitchforking or pointing out anymore. I just fact-check and move on with my life.