New: Academic Computing Drop-in Sessions
Academic computing drop-in sessions are now run by members of our team on Wednesday afternoons! Head to our drop-in info page for details & schedule....
https://www.cheatography.com/davechild/cheat-sheets/linux-command-line/pdf/
Replace string1 by string2 in 1 file
sed -i -e "s/string1/string2/g" file
Replace recursively:
find <dir> -type f -print0 | xargs -0 sed -i -e 's/chainorigin/newchain/g'