Terminal

Show environment variables of a process


Use ps -E to list the environment variables of a process.

 · 1 min · torgeir

Use a bash variable where a file is needed


With bash you can use a variable with newline separated content where a file is needed. Or rather, …...

 · 2 min · torgeir

Roll your own jwt.io in the terminal


Pasting a jwt token into someone else's website feels wrong. Let's roll a small diy version of it in …...

 · 3 min · torgeir

Nix can launch developer environments


Nix can launch developer environments with all the programs your build or project needs, readily …...

 · 6 min · torgeir

Bash : and [ are shell commands


The obscure workings of bash never cease to amaze me. The commands : and [ are two bash commands I …...

 · 2 min · torgeir

Join lines of output with commas


Sometimes you have multiple values separated by spaces, but you need them on a single line, …...

 · 1 min · torgeir