To create a script use a text editor to create a new file containing the commands that you want the script to execute.