21 points pranav_tech26 2 days ago 33 comments

Tools like ripgrep, fzf, and htop have saved me countless hours over the years. What small utilities do you rely on daily?

rhysha 2 days ago | parent

bearer-cli for static application security testing

illegalbyte2 2 days ago | parent

This looks great, thanks for sharing.

soupspaces 2 days ago | parent

tmux tealdeer zoxide

slang800 2 days ago | parent

jq

ddxv 2 days ago | parent

ssh and scp just never fails to impress

-J for jumping -L for port forwarding -X for pulling remote applications to view on my laptop (waypipe for Wayland)

Adding all those, and ips and whatnot to .ssh/config so I just type:

ssh foo

fragmede 2 days ago | parent

setup LocalCommand, in ~/.ssh/config, so your config files get copied to every server you connect to, so you have all your aliases and scripts.

rft 2 days ago | parent

I intentionally avoid this, especially if I am not the only one connecting to a server. I see potentially breaking others' expectations for my convenience as a clear downside. Plus there is a level of paranoia there, I might have unintentionally included a credential in some config that gets copied over. That potentially increases the blast radius of a server compromise beyond what is strictly required for that specific server. I might copy over some scripts into a directory not in $PATH, easy enough to add it to my shell session if needed, CTRL+R helps as well.

fragmede 2 days ago | parent

...why are you sharing user accounts in this day and age? Yes, absolutely, don't mess up the shared space everyone uses, but why are you sharing that space in the first place?

mmh0000 2 days ago | parent

I’m not saying yours does, but be careful with LocalCommand, it will often break rsync and other tools that use ssh behind the scenes.

aborsy 1 day ago | parent

SFTP is just simpler and better, if available.

mansi1010 2 days ago | parent

screen

winrid 2 days ago | parent

Is there any advantage of screen over tmux? I've kind of switched, I don't see a reason to go back.

gforce_de 2 days ago | parent

screen /dev/ttyUSB0 115200

...and easy session sharing

winrid 1 day ago | parent

Ah ok true, I forgot I use it for serial stuff very occasionally too.

nozzlegear 2 days ago | parent

Gotta be jujutsu. I've completely stopped using git and use jj everywhere instead. It works so much better for my workflow.

justsomehnguy 2 days ago | parent

    user: pranav_tech26
    created: 16 hours ago
    karma: 7

fragmede 2 days ago | parent

...yes?

justsomehnguy 2 days ago | parent

No.

EDIT: also check their comment history.

fragmede 2 days ago | parent

Would you mind just saying what you mean?

karlsefni 2 days ago | parent

GP is probably implying it's a bot account doing some kind of engagement-farming.

absoluteunit1 1 day ago | parent

Was going to comment this as well.

Fresh account with two Ask HN questions that are bound to get replies

rft 2 days ago | parent

ssh, scp, tmux, (grml-)zsh, grep, less, file, tar, git

The time saving of a well filled ~/.ssh/config is impressive, especially once you start juggling ProxyJump hops.

vismit2000 2 days ago | parent

dust: https://github.com/bootandy/dust - This has ben immensely useful for me

wseqyrku 2 days ago | parent

rustc

charlie90 2 days ago | parent

Everything/es.exe for searching every file on disk, its nice for AI agents to use

gforce_de 2 days ago | parent

This is https://github.com/voidtools/ES (a "locate" replacement for windows-computers)

BorisMelnik 1 day ago | parent

grep + es.exe on windows is the only way to look for files

scary-size 2 days ago | parent

https://github.com/rupa/z (z - jump around)

argus95 1 day ago | parent

leaf (Terminal Markdown previewer)

wbnns 1 day ago | parent

GitHub CLI -- I'm using it every day and just about anything I'd want to do on GitHub, I can do straight from the command line

https://cli.github.com/

taf2 1 day ago | parent

vim, ls , cd, grep, cat being close seconds

aborsy 1 day ago | parent

Find, fzf, vim, ssh, …

amterp 21 hours ago | parent

Big fan of gron[0] and zoxide[1]. Gron for flattening and viewing JSON, and zoxide (z) for fuzzily jumping around on my system or on remote systems with z installed.

Also been using Rad [2] (disclaimer: am author) to replace my suite of Bash scripts and write new ones, quite happy with one atm which sets reminders e.g. 'remind 2h check the CI build' which will give me an OS reminder in two hours, I use it a ton at work.

[0] https://github.com/tomnomnom/gron [1] https://github.com/ajeetdsouza/zoxide [2] https://github.com/amterp/rad