A basic shell script starts with a shebang (#!) followed by the path to the shell interpreter (e.g., #!/bin/bash). You can then add your desired commands or a combination of shell commands in the script.