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

  • pkjqpg1h@lemmy.zip
    link
    fedilink
    English
    arrow-up
    72
    ·
    1 day 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

    • stewie410@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      21 hours ago

      iptables --> nftables

      And if you really want the iptables UX, iptables-nft is also an option (at least on Debian). While I prefer firewalld most of the time on a server, my boss really wants to stick with the same tools he’s used for 20yr; so iptables-nft it is.

    • lambalicious@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      21
      ·
      1 day 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).