1. What is the difference between '&&' and ';' when chaining commands?
The && operator executes the next command only if the previous one succeeded. The semicolon (;) executes all commands sequentially, regardless of success or failure.
mkdir logs && cd logs