A file of executable commands for Unix and Linux. Created in a text editor, when the file is run, each command is executed until the end of the file is reached. After the shell script is written, it is made usable by changing its file status to "executable" with the change mode command (see chmod).Shell scripts are the Unix/Linux counterpart to Windows/DOS batch files and Windows scripts. Because macOS is Unix based, Macs also execute shell scripts. See Windows Script Host, PowerShell and batch file abc's.