The Secret Rules of the Terminal
all of the preorders of "The Secret Rules of the Terminal" have shipped! we promised they'd ship in August and I'm pleased that we managed to get them all shipped before August even arrived
(please send us an email if you run into any problems)
wizardzines.com/zines/termin...
28.07.2025 19:51 โ ๐ 70 ๐ 7 ๐ฌ 0 ๐ 0
The Secret Rules of the Terminal
got back from vacation to see that most of the print preorders for "The Secret Rules of the Terminal" have shipped!
if you'd like a print copy you can get one here: wizardzines.com/zines/termin...
23.07.2025 16:01 โ ๐ 37 ๐ 8 ๐ฌ 1 ๐ 0
where is that? ganadara?
06.07.2025 00:06 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Three partially shaded congruent rectangles, with unshaded triangles connecting some of the corners.
The three rectangles are congruent. What fraction of the design is shaded?
#geometrypuzzle
05.07.2025 11:03 โ ๐ 56 ๐ 16 ๐ฌ 14 ๐ 3
37% - 30+ years
39.5% - 10-30 years
13.6% - 5-10 years
10% - under 5 years
we ran a Wizard Zines reader survey and it's interesting to see that 75% of people who buy the zines have been programming for 10+ years
When I imagine a typical reader I always imagine someone who's been programming (in some capacity) for at least 5-10 years so it's nice to see that's accurate
04.07.2025 15:52 โ ๐ 68 ๐ 2 ๐ฌ 2 ๐ 1
The Secret Rules of the Terminal, by Julia Evans - The cover illustration depicts three people doing arcane terminal magic in a temple with a smoking censer in the background. Each of the three people has curly brown hair and light brown skin. They are all wearing dresses, billowing cloaks, and utility belts with keyboard symbols on them. The one on the left holds a palette of paints and a brush. The one on the right has a staff with a $ symbol on it and a starfish at the top. The one in the centre has a sword and is reading from a book whose cover says โ>_โ and โ./โ, which rests on a lectern with a smiling snake wrapped around it.
we've already sold 1000 copies of The Secret Rules of the Terminal since it came out on Tuesday!!
so to celebrate I'm giving away 1000 copies to anyone who can't afford to buy one. You can use code BUYONEGIVEONE to get a free PDF copy if $12 USD is a lot for you.
wizardzines.com/zines/terminal
28.06.2025 15:41 โ ๐ 166 ๐ 53 ๐ฌ 4 ๐ 2
Writing a basic Linux device driver when you know nothing about Linux drivers or USB
i've always been curious about how to write a Linux USB device driver and this blog post looks like a great intro: crescentro.se/posts/writin...
26.06.2025 19:08 โ ๐ 183 ๐ 14 ๐ฌ 5 ๐ 1
I was a beta reviewer for this zine and itโs a banger. Iโve used the terminal for most of my life and I still learned a lot of secrets, from big concepts to little tricks.
26.06.2025 17:27 โ ๐ 26 ๐ 4 ๐ฌ 0 ๐ 0
oops thanks will fix!
25.06.2025 19:48 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
aw thanks!
Iโve priced things so that it comes out to basically the same thing for me, itโs really just whatever you prefer
25.06.2025 16:54 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0
one of my goals with this zine is to show you that you have a lot of choices about how your shell behaves, and that a well-configured shell can make your life in the terminal a LOT easier
25.06.2025 15:12 โ ๐ 39 ๐ 1 ๐ฌ 1 ๐ 0
in case you missed it, "The Secret Rules of the Terminal" came out yesterday!
25.06.2025 15:11 โ ๐ 60 ๐ 11 ๐ฌ 2 ๐ 1
1. SHELL
cast of characters
meet the shell
PATH
PATH tips
history
job control
filename tips
stdin/stderr/stdout
redirects
2. TERMINAL EMULATOR
meet the terminal emulator
escape cdoes
colours
the mouse
copy & paste
TERM
3. PROGRAMS
types of programs
less
editing text in REPLs
keyboard shortcuts
4. TTY DRIVER
meet the TTY driver
stty
canonical mode
It really left me feeling like the terminal is full of hidden secrets -- because "the terminal" is made up of so many different pieces, there's no single terminal manual you can read!
Here's the table of contents, which as a bonus shows the different components of the terminal!
24.06.2025 17:23 โ ๐ 63 ๐ 5 ๐ฌ 2 ๐ 1
The reason this zine is called "The Secret Rules of the Terminal" is that I learned more useful things while writing this zine than when writing any other zine, even though I've been using the terminal every day for 20 years.
24.06.2025 17:20 โ ๐ 43 ๐ 1 ๐ฌ 1 ๐ 1
The Secret Rules of the Terminal, by Julia Evans - The cover illustration depicts three people doing arcane terminal magic in a temple with a smoking censer in the background. Each of the three people has curly brown hair and light brown skin. They are all wearing dresses, billowing cloaks, and utility belts with keyboard symbols on them. The one on the left holds a palette of paints and a brush. The one on the right has a staff with a $ symbol on it and a starfish at the top. The one in the centre has a sword and is reading from a book whose cover says โ>_โ and โ./โ, which rests on a lectern with a smiling snake wrapped around it.
delighted to announce that my new zine "The Secret Rules of the Terminal" is out today!!
You can get it for $12 USD here: wizardzines.com/zines/terminal
24.06.2025 16:52 โ ๐ 323 ๐ 100 ๐ฌ 3 ๐ 6
it's coming out tomorrow! You can sign up at wizardzines.com/zine-announc... if you want to get an email when it's released
23.06.2025 20:43 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0
1. SHELL
cast of characters
meet the shell
PATH
PATH tips
history
job control
filename tips
stdin/stderr/stdout
redirects
2. TERMINAL EMULATOR
meet the terminal emulator
escape cdoes
colours
the mouse
copy & paste
TERM
3. PROGRAMS
types of programs
less
editing text in REPLs
keyboard shortcuts
4. TTY DRIVER
meet the TTY driver
stty
canonical mode
it's happening! "The Secret Rules of the Terminal" is coming out tomorrow!
here's the table of contents:
23.06.2025 19:59 โ ๐ 281 ๐ 40 ๐ฌ 4 ๐ 5
whatโs an example of a case where you use sponge?
23.06.2025 13:56 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
you can actually technically use the syntax with any file descriptor number (not just 1 and 2) but iโve only ever used 1 and 2
21.06.2025 22:00 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0
yeah exactly!
21.06.2025 21:59 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
yeah! so basically imagine that there are variables called "output" and "error".
`cmd > file.txt 2>&1` is like
output = 'file.txt'
error = output
`cmd 2>&1 > file.txt` is like
error = output
output = 'file.txt'
so in the first case, you end up with error = file.txt but not in the second
21.06.2025 18:01 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
I feel the same way. like I know the reason why it comes at the end but it's still counter intuitive to me
21.06.2025 00:22 โ ๐ 1 ๐ 0 ๐ฌ 2 ๐ 0
oh yeah we built a website from scratch a few years ago just to handle a higher volume of beta readers and I ended up adding a bunch of new features to it this time (like an admin toolbar to hide comments that are from too long ago)
20.06.2025 20:02 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
95 beta readers is a new record, I used to ask maybe 1-2 people to read a zine before it went out but this one went through 4 rounds of beta readers who made it a LOT better than it started
20.06.2025 19:53 โ ๐ 28 ๐ 0 ๐ฌ 2 ๐ 0
cmd > file.txt
cmd >> file.txt
cmd < file.txt
cmd 2> file.txt
cmd > file.txt 2>&1
cmd1 | cmd2
cmd1 2>&1 | cmd2
three gotchas:
1. cmd file.txt > file.txt will delete the contents of file.txt
some people use set -o noclobber (in bash/zsh) to avoid this
But I just have "never read from and redirect to the same file" seared into my memory.
2. sudo echo blah > /root/file.txt doesn't write to /root/file.txt as root. Instead, do:
echo blah | sudo tee /root/file.txt
or
sudo sh -c 'echo blah > /root/file.txt'
3. cmd 2>&1 > file.txt doesn't write both stdout and stderr to file.txt. Instead, do:
cmd > file.txt 2>&1
panel 3: cat vs <
I almost always prefer to do:
cat file.txt | cmd
instead of
cmd < file.txt
it usually works fine & it feels better to me
using cat can be slower if it's a GIANT file though
panel 4: &> and &|
some shells support &> and &| to redirect/pipe both stdout and stderr
(also some shells use |& instead of &|)
here's the final version of the "redirects cheat sheet" draft I posted a while back!
("The Secret Rules of the Terminal" is finished! 95 beta readers have read it! the copy editor is done! technical review is done! the illustrator has made the cover! It's going to be out on **Tuesday June 24**"!)
20.06.2025 19:52 โ ๐ 216 ๐ 32 ๐ฌ 10 ๐ 1
I just lost like 2 hours debugging a *wild* bug that only showed up when running my tests in a specific way.
It was a combination of garbage collection and file descriptors being re-used, conspiring together to ruin my day.
20.06.2025 15:55 โ ๐ 139 ๐ 9 ๐ฌ 4 ๐ 1
i think this fzf hack is interesting because fzf is a "search tool" but actually you can build lots of stuff with it (like "help me scroll through the files in a git commit") or "preview the results of a `jq` query I type in" that does not use its search features at all
17.06.2025 16:01 โ ๐ 30 ๐ 0 ๐ฌ 2 ๐ 0
View with files on the left and diff for that file on the right
I've still never gotten into `fzf` (and maybe I never will!) but I think it's really cool that you can use a fzf 1-liner to make things like this little UI for reviewing git commits
jvns.ca/til/fzf-prev...
17.06.2025 15:56 โ ๐ 113 ๐ 11 ๐ฌ 8 ๐ 1
Irreverent electronics for makers and modern yarn tools for crafters. Yes, both. A very small business in San Luis Obispo (SLO), CA, USA, owned by Carrie Sundra, the real live human (she/her) who is behind these posts.
๐ โก๏ธโจ๐๐ฆ ๐งถ
www.alpenglowindustries.com
Programmer. Enthusiastically Nerdy๐ฅณ.
South Asian North American. Via Toronto๐ / McGill๐จ๐ฆ / Bangladesh๐ง๐ฉ
I think I am hillarious eh?
Printing information as art!
A small-batch, Risograph printing press
๐ Philadelphia, PA
innerloop.press
Writer, musician, community organizer, software engineer | they/she ๐ณ๏ธโโง๏ธ
Weekly news and analysis - https://www.patreon.com/news_not_doom
Disaster prep and more - https://lifeofaudrey.com
Music - https://audrey-eee.bandcamp.com
Went to some colleges, now studying them for a living
Talk equally about ed policy and reality tv
She/Her
https://www.dominiquebaker.com/
(I generally don't follow students as they deserve space to blow off steam about people like me)
Journaliste montrรฉalaise | Managing editor @therovermedia.bsky.social | community reporting, language, QC politics, indie media โจ
Creator: Emoji Kitchen
Chair: Unicode Emoji Subcommittee๐ช: ๐ฅน๐ซ ๐ซฅ๐ฅฒ๐ซก๐ซข๐ซฃ๐ฎโ๐จ๐ตโ๐ซ๐ถโ๐ซ๏ธโค๏ธโ๐ฅโค๏ธโ๐ฉน๐ซฆ๐ซง๐ซ๐ชฌ โฆ
Surprised historian, not surprised eels.
Doctor of medieval history, talkingโ about eels, history, maps, and the Spaniel. Alt-text artist.
I draw custom maps on commission:
https://surprisedeelmaps.com/
Support me here: patreon.com/SurprisedEel
Canadian wanderer in Ireland. Trying to make the internet a better place. Bluesky Head of Trust and Safety.
Email moderation@blueskyweb.xyz for more complex issues.
Priority notifications active, so I don't see mentions. abuse = block
La Converse est un mรฉdia dโactualitรฉs propulsรฉ par un journalisme de dialogue.
www.laconverse.com
founder & ceo, blacksky algorithms [ @blackskyweb.xyzโฌ ]
affiliate, berkman klein center, @harvard.edu
move fast and break chains
organizer wethepeople.nyc
black love overrides oppression & destruction
black crypto-anarchism๐ดโโ ๏ธ
๐ linkat.blue/rudyfraser.com
small press + zine distro!
Tiohtiร :ke // Montrรฉal
transsexual-run // anti-ableist // pro-๐ต๐ธ
https://sheerspite.ca/
Music-lover fascinated with anything involving technology. Background in SRE and cloud infrastructure.
Working with SvelteKit, Rails, and CF Workers lately on downforeveryoneorjustme.com
Cofounder @dreamwidth.org / disabled queer cat lady / running social media since before it was "social media" and Trust & Safety since the dawn of time / do not cite the deep magic to me, I wrote it / no, I'm allergic to that, too
the internet can still be fun!
https://onemillioncheckboxes.com โข http://eieio.games โข https://everyuuid.com โข https://onemillionchessboards.com
๐rockit network engineer
๐ฉ๐ผโ๐ปethernet fangirl
๐ weird use cases & silly tech!
๐ tracket@tracketpacer.com
๐ tracketpacer.com
Assistant Professor @ The Ohio State University.
Phylogenetics, biogeography, ichthyology, anglerfish toucher.
https://elizabethcmiller.weebly.com/
๐ We're a reader-funded investigative journalism project reporting from Montreal, across Quebec, and beyond
English et franรงais โ๏ธ
๐๏ธ Find us at therover.ca