Tootfinder

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

@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

@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.

@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