Glossary: Command Line for IT: Bash and PowerShell
script
Also written: scripts, .sh, .ps1
A text file of commands that a shell runs in order: a .sh file for bash (bash name.sh) or a .ps1 file for PowerShell (pwsh name.ps1). Scripts can take arguments, make decisions and set an exit code.