You can simply include lines in shell scripts the way you'd type them on the command line...
What shell scripts add is automation, and extended features for things like calling other shell scripts, conditional operations, variables, I/O redirection etc, etc. Btw: "man bash"