• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    These lists are always nice. But how does following even fit into the topic of this post at all? These are not underrated hidden gems and most who use the terminal used it already:

    1. > file.txt Command – Overwrite a File

    Routing the stdout to a file is one of the most common used “commands” in Linux. And one to learn at the very beginning.

    1. ping -i 60 -a IP_address Command – Ping with a Custom Interval

    Probably not that useful in day to day usage, but I assume this is one of the most basic commands lot of people used it in the past to test if they have internet access. ping google.com is common, or so I thought.

    Otherwise there are some nice listings, such as at (I really should use that one too), du (actually not that hidden, but its probably underrated and people install lot of tools doing same instead) or yes (useful for certain automation, where you know the answer is to proceed). A solid list, but a little bit short and with a few questionable entries.

  • macniel@feddit.org
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    foobar Command – Quick Text Substitution

    doesn’t work for me (using fish) and is apparantly only available in bash; would you call that then a command?

    at Command – Schedule One-Time Tasks

    at is also not a built-in but an external tool you have to install first; but its an interesting one.

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      doesn’t work for me (using fish) and is apparantly only available in bash; would you call that then a command?

      Right, the ^search^replace is a Bash feature. It is a builtin command, like echo or cd in example. Just because a command is not available to any other shell or if its not an independent program, does not make it not a command (in my opinion).

      However I agree its a little bit out of place here. A note that its a builtin and not universally available to every shell would have been nice in such a listing.

      • macniel@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        just for the sake of being pedantic: echo is actually a program (just like ls) cd though is indeed a command. And I agree with your last statement.