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

  • ken@discuss.tchncs.de
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    17 hours ago

    Just to be clear, most of these (think about egrep/fgrep for a moment) are deprecated and “shouldn’t be used” in scripts for distribution. What’s new is that you can’t expect everyone else to have them and having dependency on them in shipped software is considered antipattern.

    Nobody gives a shit what aliases and shims you use in your own shell.

    On iptables: By now it’s even gone from kernel and the turn tabled with the cli command now actually being a shim calling into its successor nft. IMO nft is much more approachable for beginners to pick up and the rules files become so much more readable and maintainable. If you’re already committed to iptables syntax then cool - but with very few exceptions I don’t think anyone needs to learn iptables today - just go straight to nft and you’ll be happier for it. Similar for ifconfig.