345
you are viewing a single comment's thread
view the rest of the comments
[-] th3raid0r@tucson.social 21 points 10 months ago* (last edited 10 months ago)

He did this thing where he unified his shell history across thousands of hosts - it was super handy given our extensive use of Ansible playbooks and database managment commands. He could then use a couple hotkeys to query this history within a new open document. Super handy for writing out shell command steps or wrapping things in a bash script you're working on. Unfortunately I don't really have a link to HOW to do this, I just remember thinking "Oh my god, that would save me SO much time".

Nowadays, I just have this giant document with hundreds of our runbook commands and enable Github Copilot to make it SUPER easy to do the same thing without establishing an SSH session in the backend.

[-] hackris@lemmy.ml 11 points 10 months ago

Wow, that's super useful! I don't have thousands of hosts, but even with a dozen, it would save me so much time. Why have I never thought of doing this? Thanks for the idea! (now I just need a few lonely evenings configuring the thing)

[-] Deckweiss@lemmy.world 3 points 10 months ago

There's also Xpipe for that.

[-] asahi@lemm.ee 4 points 10 months ago

atuin might be useful it syncs your shell history

this post was submitted on 21 Feb 2024
345 points (90.2% liked)

Programmer Humor

32739 readers
604 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS