To execute a series of commands only when the previous command executes successfully use && operator.