what's a popular command line tool (other than git) that you wish had a clearer / more intuitive UI? I'm thinking of tools like `dig` which has this IMO pretty arcane output format
for ffmpeg: ffmprovisr is am amazing list of ffmpeg recipes https://amiaopensource.github.io/ffmprovisr/
ffmprovisr

I often wish I could search through other people's shell histories for commands I'm learning, to see how they're using them (in some kind of privacy-preserving way)
@b0rk I wonder if https://github.com/ellie/atuin could be used in some way for this?
GitHub - ellie/atuin: 🐢 Magical shell history

🐢 Magical shell history. Contribute to ellie/atuin development by creating an account on GitHub.

GitHub
@thumper @b0rk this is the coolest thing I have ever seen.
@thumper @b0rk See also https://github.com/xonsh/xonsh which has a similar kind of rich history by default
GitHub - xonsh/xonsh: :shell: Python-powered shell. Full-featured and cross-platform.

:shell: Python-powered shell. Full-featured and cross-platform. - xonsh/xonsh

GitHub

@thumper
I think it would be against the core privacy principle in atuin.

@ellie did you consider this feature?

I'm wondering if keeping statistics of a SHA of each command could be abused? Assuming that often used commands are most interesting of course.

It might be safe if each user could be asked to approve sharing of specific commands.

@Kleist @ellie I figured there would need to be some agreed sharing.

Not sure how you'd identify which bits are "sensitive".

@Kleist @thumper

I have been wanting to do something like this for ages! But doing so in a safe way is difficult, and I don’t want to even risk the perception that your data is not private

The two options we have that could work

1. Opt in sharing of “atuin stats” output
2. As you say, some kind of opt in SHA fingerprint sharing

There’s a bunch we’re working on atm, with marking a command “public”/“shareable” potentially happening in the future

@b0rk you can gather a full list of typos with mine ! Not sure if helpful!

@b0rk
In a way, you can do this on https://www.commandlinefu.com

In case you didn't know it already, people post their favourite one-liners along with explanations, and vote for/against possible alternatives.

All commands

A repository for the most elegant and useful UNIX commands. Great commands can be shared, discussed and voted on to provide a comprehensive resource for working from the command-line

@schmidt_fu @b0rk Oh, that's cool!

In the same vein, I like Cheat (https://github.com/cheat/cheat) - it's *kind of* like seeing how people use commands (because people contribute to the cheat sheets). I use the cheat command way more often than man, that's for sure.

GitHub - cheat/cheat: cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.

cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not ...

GitHub

@lisawe
Hey cool, I didn't know that one! Might as well mention #tldr as an easier alternative to man pages:

https://github.com/tldr-pages/tldr
@b0rk

GitHub - tldr-pages/tldr: 📚 Collaborative cheatsheets for console commands

📚 Collaborative cheatsheets for console commands. Contribute to tldr-pages/tldr development by creating an account on GitHub.

GitHub
[[tldr]] at anagora.org

The Agora is a crowdsourced distributed knowledge graph: anagora.org.

@b0rk I thought I saw a shell recently that had social features, but now I cannot remember the name. I’ll look around.
Terminus

@mandarvaze @b0rk yeah that’s the one. It has a drive feature letting you save workflows that can be searched and accessed by your team
@b0rk I get so mad and frustrated at documentation if it doesn't have several examples in a prominent location. Going from Perl, where by convention the first section of a pod doc (what you get when you type `perldoc Module::Name`) is a Synopsis containing usage examples, to Python, where it decidedly, seemingly aggressively, is not the convention, was very painful. Examples are the only way I can learn something fast.

@b0rk

There's tldr, of course. That's in the distant neighbourhood of what you want.

@b0rk oh no Julia, no! 😦 It's garbage!

It's muscle memory and copy pasta... Half of us don't know what we're doing and the other half forgot the reason why this combination of switches "works" 🥲

@jjcelery archaeology is fun though
@b0rk I work with other sysadmins and I have seen / grepped our shared history to solve problems. Archeology is an appropriate term. We're all fossils 🥲

@jjcelery @b0rk I sometimes want to go through that garbage to improve my helper scripts. Or create stubs to remind me I wrote a script to chamfer the sharp edges off.

Like how I repeatedly cd deep into my ~/src directories then edit the current dir, when I have a `ze` script to present a fzf selector and open in $editor.

@b0rk
Mine is just "sudo !!"

The ergonomic-improvement possibilities there are pretty huge, if you could get community buy-in.

What command combinations are so frequently used that they might deserve their own shortcut? What commands to people need to go to the man page before using most often, and how can they be improved?

I bet even just gathering usage stats from something like tldr would be a cli-ergo goldmine.

@b0rk that would be … sick. Imagine having that at your ctrl-r disposal?!? 😍
@b0rk Related, you can usually tweak your shell's history settings to only keep unique and interesting commands you've executed, so it's easier to find them. https://medium.com/@dblume/have-only-unique-lines-in-your-bash-history-941e3de68c03

@b0rk Back in the day, you kindof could - when I was first learning, most users on the systems I were on left everything open so you could learn by exploring others directories. At least on some of the systems I was on, it was accepted and in fact encouraged.

It was another time.

@b0rk

> git rebsas —interactive
> git rebase —intectv
> gitrbsse—interactive
> sudo shutdown

@b0rk this was a thing I loved about full time pairing— the chance to learn from how everyone on your team used their tools
@b0rk I used to learn a lot while looking (consensually) over friends' shoulders. The disappearance of the shared terminal room/lab is a loss.
@b0rk oh this is lovely, bookmarked
@b0rk @caseyliss seems like something for you?
@b0rk Working on editing a bunch of video today via command line and other tools.. this is amazingly prescient!
@b0rk The ffmprovisr is a spectacular resource. Thank you
@b0rk Oh that's great, thanks! Like a grown up, actually knows what it's doing version of the .txt file I paste complicated commands in after I get them working
@b0rk yeah, this one. ffmpeg is impossible. Thanks!
@b0rk
Thanks! That looks very useful. I have spent a lot of time looking through the command line flags for what I need, and this will help a lot.
@b0rk thats such a helpful resource! I just have a messy txt with recipies that might have worked or not prevously...