Tootfinder

Opt-in global Mastodon full text search. Join the index!

@mgorny@social.treehouse.systems
2026-04-25 07:35:51

#TIL that if you quote the "EOF" word for #bash here-document thing, it does not perform all the substitutions inside the here-doc, i.e. treats it like single-quoted rather than double-quoted string.
cat > ... <<-'EOF'
${foo}
EOF
will get you raw '${foo}', no escaping needed.

@cark@social.tchncs.de
2026-04-24 13:38:04

#TIL In bash you can create multiple (nested) directories with a single compact line:
❯ mkdir -p a/{b,c/{x,y},d/{e,f}}
❯ tree
.
└── a
├── b
├── c
│    ├── x
│   └── y
└── d
├── e
└── f

@harrysentonbury@social.linux.pizza
2026-02-12 11:26:14

Linux, Bash and other stuff etc. Interesting odds and ends. :moth:
#linux #bash

@cjust@infosec.exchange
2026-02-03 22:49:27

Oh, no.
My favorite scripting language is the
#Epsteinfiles #bash
justice.gov…

@grahamperrin@bsd.cafe
2026-03-08 11:42:29

I changed my root user shell from bash to fish.
What could possibly go wrong?
#Kubuntu #Linux #bash #history