I have cmd1 and cmd2.
cmd1
cmd2
cmd1 && cmd2 will not run cmd2 if cmd1 fails.
cmd1 && cmd2
cmd1 || cmd2 will run cmd2 if cmd1 fails
cmd1 || cmd2
How do I run cmd2 regardless of whether cmd1 succeeds or not?
To execute cmd2 regardless of whether the previous one result is, separate your command with semicolons or newlines:
cmd1; cmd2 # or cmd1 cmd2