2026-11-08 11:27 UTC
@fullywoolly@mastodon.social today I learned about "tac" which returns the input in opposite order
I love that sort of shit
tac does
1
2
3
to
3
2
1
while rev does
123
to
321
To be fair I asked an LLM to tell me how I can revert based on lines.
I want to give you a good source on how to learn CLI but my internet appears to be broken
Replies (1)
-
@saxnot@chaos.social 2026-11-08 11:28
@fullywoolly@mastodon.social sent via internet There is a "The art of command line" somewhere on GitLab and it's super super great. I only worked though about half of it I have no intention of knowing all these commands but I want to have skimmed the whole document because stuff like "shuf" or "wc -l" is just exactly the kind of stuff I use every day EDIT: this https://github.com/jlevy/the-art-of-command-line