Tootfinder

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

@vague@social.linux.pizza
2026-05-28 21:39:51

This might come #handy for people. A while ago I asked in #bash on @… for an #incognito

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

@lpryszcz@genomic.social
2026-06-12 07:52:52

handy random string (password) generator
echo `tr --complement --delete "a-fA-F0-9" < /dev/urandom | head -c 12`
#bash #cmdline #tricks
source:

@beeb@hachyderm.io
2026-06-27 13:23:27

I'm really enjoying making small scripts in #AmberLang
#bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
#scripting #ScriptingLanguage #bash_scripting