tucson.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chaoticAnimals@programming.devM to commandline@programming.dev · 2 years ago

Let's make a list of our favorite CLI utilities.

message-square
message-square
10
link
fedilink
3
message-square

Let's make a list of our favorite CLI utilities.

chaoticAnimals@programming.devM to commandline@programming.dev · 2 years ago
message-square
10
link
fedilink

Any extra tips or tricks are welcome!

Yesterday I learned that set -x enables trace for a bash, sh, or zsh script and prints the trace to the terminal.

alert-triangle
You must log in or # to comment.
  • mug9145@chat.maiion.com
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Newsboat, an RSS reader https://newsboat.org/

  • kisor@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago
    • scoop - closest to apt on Windows
    • yt-dlp - active fork of youtube-dl
    • neofetch - System information display
    • winfetch - Same as neofetch, but for windows
    • pandoc - Ultimate converter
    • ffmpeg - must have tool
    • taskwarrior - best task manager imho
  • FiveAcres@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    In Bash, I like to use cdargs

    sudo apt-get install cdargs

    It allows you to set up shortcuts on the fly,

    cv sdbackup

    rather than cd /media/user/Backup Plus/ MyFiles/current/sdbackup

    cv with no argument will give you a list to select from current shortcuts

    • umbraklat@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Of those mentioned, this one intrigues me most. Thanks!

  • Algae@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    My answers (mostly running in powershell - not that it makes much of a difference!)

    Rust-based utilities I couldn’t live without:

    • fd (fd-find) for finding my files
    • rg (ripgrep) for string searches
    • sd (sed) for search and replace
    • dust (dust) for information about my directories
    • lsd (aliased to ls or l) for replacing Dir
    • bat (better cat) - for when the help pages are too long

    Other stuff I love:

    • htop - I just learned you can run this in WSL to see all your system cores. It’s pretty!
    • nvim - obviously. The best vim. Even works in VSCode
  • 𝕊𝕚𝕤𝕪𝕡𝕙𝕖𝕒𝕟@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I really like jless. You can pipe the JSON output of a cURL command into it and it displays it in a really nice, easy to read way with collapsible arrays and objects.

  • Gamma@programming.devM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    pv, which is like cat, simply copying files or stdin to stdout, but prints statistics to the terminal.

    A related tip: dd isn’t special in the way most people use it. This works too, if you’re root: pv my-fav-distro.iso > /dev/sdc

  • fallenpixel@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Always partial to yq and jq. No easier way to interact with kubernetes outputs on the fly.

    • RandomDevOpsDude@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      How I have never heard of yq, I’m unsure, but thank you as I’m sure it will make life easier

    • nevalem@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Don’t forget about fq!

commandline@programming.dev

commandline@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !commandline@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 2 users / month
  • 128 users / 6 months
  • 1 local subscriber
  • 2.03K subscribers
  • 97 Posts
  • 198 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Gamma@programming.dev
  • chaoticAnimals@programming.dev
  • Spyros@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org