bash terminal execute multiple commands in one line

A; B    Run A and then B, regardless of success of A
A && B  Run B if A succeeded
A || B  Run B if A failed
A &     Run A in background.

How to update slimerjs to 0.10 or newer which is installed via npm install slimerjs ?

If you came across this issue like me here is how to update slimerjs:

npm install -g slimerjs
cd /usr/local/lib/node_modules/slimerjs/lib/
mv slimer slimerjs-bak
mv slimerjs-0.10.0/ slimer

with new v10.0 you need to update your firefox version too. you can choose a version between 42 and 46.