Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

TIL in bash/shell, “>” redirects to and overwrites a file if it exists, while “>>” redirects to and appends to a file if it exists. I’ve been using these for years and never knew the distinction until I needed it

Posted by under notes at
Also on: twitter / 0