Ok. Next question: what obscure *nix utility do you love and think everyone should know about?
@jerry apropos is so apropos
@colindean @jerry I used to use this 100s of times a day when I started using a Linux base OS. I loved it. whatis too.
@webhat @jerry it was instrumental in teaching me what tools are available to me by simply searching what I wanted to do in the time before stack overflow and practically before Google was useful for programmers
@colindean @jerry info pages were another great resource when I started
@jerry Don't know if it's really obscure, but I always install tree and xtrlock on my computers.
@lertsenem @jerry I’ve run into many folks who are unaware of tree, and it’s super useful!
@jerry ncdu has saved me so many times, and when I mention it to most folks I get a "what's that?"
@jerry not obscure, just nearly obsolete I'm sure -- recently I needed to transfer huge directories on small physical media, and the split command saved my day. It's so brilliantly elegant it almost made me tear. Tarballed my dirs, split the archive by filesize according to my needs, and on the other side cat with redirects recombined everything perfectly.
@jerry "exa". It's written in rust and is "what if ls was more usable"? https://github.com/ogham/exa
GitHub - ogham/exa: A modern replacement for ‘ls’.

A modern replacement for ‘ls’. Contribute to ogham/exa development by creating an account on GitHub.

GitHub

@jerry

I don't know how useful it is but I love that `tac` exists and think everyone should know about it.

It's `cat`, but reads the file from the last line and goes up.

@jerry tldr! cheatsheets for man pages. https://github.com/tldr-pages/tldr
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
@jerry it's not really obscure but I still use screen a lot. 🤷🏻‍♂️
@bscabl @[email protected] good call. Screen is a fab utility
@jerry ddate , which tells the discordian date. What i think is most interesting is that it was included as part of util-linux and thus every linux distro from about 1994 till 2011 when the devs made it optional and distros stopped including it by default.

@jerry nnn for terminal and magicwormhole for sending files.

https://github.com/jarun/nnn

https://github.com/magic-wormhole

GitHub - jarun/nnn: n³ The unorthodox terminal file manager

n³ The unorthodox terminal file manager. Contribute to jarun/nnn development by creating an account on GitHub.

GitHub
@jerry Much to my surprise screen. You can even use it as a terminal emulator for serial connections!
@jerry just the -V flag to sort(1)
@jerry tmux and remmina are my life.

@rmaloley @jerry

I wish Remmina was (easily/natively) available on Windows and MacOS. But it being so good helped push me to spend more time on the Linux desktop.

@zachariah @jerry I wished it was on Windows but honestly it just gives me another reason to stick to Linux. Linux has the tools and user experience that I prefer.
@zachariah
@rmaloley @jerry
Neat, last I looked at it I think it was just RDP.
@FritzAdalis @zachariah @jerry I use it primarily for managing my RDP and SSH connections to remote appliances. Works quite well.

@jerry

Restic. Cross platform backup utility works over sync and encrypts the backups

@jerry Simon Tatham's cvt-utf8. Decodes UTF-8 and analyses Unicode. www.chiark.greenend.org.uk/~sg…
Man page for cvt-utf8

@jerry bat (cat on steroids) and fd (the better find)

@jerry

Two that were life-changing for me:

CTRL+R
• search through terminal command history
https://www.gnu.org/software/bash/manual/html_node/Searching.html
• tip: press CRTL+R *again* to see each next search result

mysecureshell
• for confined sftp-only access to a system
https://mysecureshell.readthedocs.io
• features: bandwidth control, only authorized files and folders can be seen by users, advanced logging

Searching (Bash Reference Manual)

Searching (Bash Reference Manual)

@jerry genact. A command line application that just prints a lot of bullshit to make it look like you do stuff. It's really funny imo.
@jerry tmux is great, and I love ranger as well (although there is this replacement I still have to try out)
@karl what's the replacement?

@dandels it's lf. Last time I checked it was lacking some feature I wanted (can't recall which for the life of me), that was a while ago things might have changed.

https://github.com/gokcehan/lf

GitHub - gokcehan/lf: Terminal file manager

Terminal file manager. Contribute to gokcehan/lf development by creating an account on GitHub.

GitHub

@jerry Everyone uses less, but there's basic commands that few people seem to know about (like &<pattern> to show only matching lines or ?<pattern> to search backwards).

Also, less --follow-name

@jerry I keep having to show people “man -k <string>” on machines to wide eyed surprise.
@jerry for me, one of the many useful utilities is qdirstat, with a graphical presentation of disk usage. It's the *nix equivalent of windirstat in Windows.

@jerry sponge soaks up standard input before writing it to a file. It allows you to read from and write to the same file in a pipe.

moreutils has a lot of other really useful tools

https://joeyh.name/code/moreutils/

moreutils

@jerry mkid/gid/eid/lid from id-utils.

I use them many times a day for Verilog and C.

@jerry ‘watch’ so simple. but i use it so much
@gangrif @jerry is I get a distro with watch missing I have a failover function in my .bashrc/.zshrc which tides me over until I can install it
@jerry vimtutor, the tutorial that teaches you how to exit it on line 55, if you don't accidentally delete the instruction first!

@jerry I think I may add "srm". It's like rm but allows you to overwrite files after deletion for better safety.

In addition to that "zoxide". It is a tool that sort of caches paths used with cd and then allows you to go to these paths by just mentioning words contained in them.

@jerry Every time I rebuild my primary workstation OS, I always install tmux tmux-pasteboard, imagemagick tesseract, aspell and OpenAI Whisper. These are all an important part of the scripts I use to capture and process meeting notes and dev/test work. It’s SO helpful to be able to grep my meeting notes for key words spoken by clients or seen in PowerPoint presentation screenshots. It’s also way easier to document the procedures I’ve seen or worked through myself.
@tech @jerry Wow, this is a good idea! I’m curious how do you record the calls and meetings?

@jerry `less`

It’s like `more` but better.

And, when looking for a link to explain the differences, I just discovered `most`, which I’ll need to give a try.

https://askubuntu.com/questions/1191862/what-is-the-difference-between-more-and-less-commands#1191866

What is the difference between "more" and "less" commands?

What is the difference between the two commands below? more file-name less file-name

Ask Ubuntu
@ramsey @jerry if you haven't, give `bat` a try too.

@jerry Others have suggested things like jq (which is a fantastic utility), but I recently discovered fq (aka “jq for binary formats”), and there's no going back now. it's unbelievably convenient for extracting things from binary files using the same sort of syntax as jq.

https://github.com/wader/fq

GitHub - wader/fq: jq for binary formats - tool, language and decoders for working with binary and text formats

jq for binary formats - tool, language and decoders for working with binary and text formats - wader/fq

GitHub

@jerry Llama — a terminal file manager.
I found it very useful to navigate through project structure that I'm not familiar.

https://github.com/antonmedv/llama

GitHub - antonmedv/llama: Terminal file manager

Terminal file manager. Contribute to antonmedv/llama development by creating an account on GitHub.

GitHub
@jerry Not exactly obscure, but people really ought to know that sed can do a lot more than simple regex replacement.
A Proof That Unix Utility Sed Is Turing Complete

Many people are surprised to learn that `sed`, a seemingly simple text filtering program, is actually Turing complete. This realization prompts the question: how can a text processing utility achieve such computational power? The answer lies in sed's fundamental operations. Essentially, sed functions as a miniature...

sedtris/sedtris.sed at master · uuner/sedtris

Tetris in sed. Contribute to uuner/sedtris development by creating an account on GitHub.

GitHub
@mansr @jerry hahaha I have now! That’s amazing

@nop @jerry You might also like this first-person shooter written in awk.

https://github.com/patsie75/awk-fps

GitHub - patsie75/awk-fps: First Person Shooter in gawk

First Person Shooter in gawk. Contribute to patsie75/awk-fps development by creating an account on GitHub.

GitHub