• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    9
    ·
    17 days 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.

    • kbal@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      17 days ago

      There’s someone out there to whom the existence of ping -i 30 is news.

      The idea of using >file instead of touch file — or cp /dev/null file if it already exists — is new to me, though it doesn’t seem all that useful.