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

  • HeartyOfGlass@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 days ago

    Listed programs:

    • scp - “potentially deprecated”
    • e/fgrep - replaced with grep flags
    • net-tools, which includes
      • netstat
      • arp
      • route
      • iptunnel *nameif
    • ifconfig
    • iwconfig
    • iptables
    • pkjqpg1h@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      Replacement:

      • scprsync or sftp

      • egrep --> grep -E

      • fgrep --> grep -F

      • netstat --> ss

        • arp --> ip n
        • route --> ip route
        • iptunnel --> ip tunnel
        • nameif --> ip link
      • ifconfig --> ip

      • iwconfig --> iw

      • iptables --> nftables

      • lambalicious@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        rsync is cool but is nowhere a replacement for scp’s main use case. scp actually uses your SSH client settings file, whereas rsync doesn’t (it does have the opportunity to use a SSH command, which you then have to setup separately).

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    7 days 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.