DEV Community

loading...

Discussion on: A Guide To Loving Your Terminal

Collapse
samuelabreu profile image
Samuel Abreu

Also || is a valuable tool on scripts, to exit or inform an error:

do_something_amazing || echo “nope” && exit 1