.COMMAND File Extension
File TypeTerminal Command File
What is a COMMAND file?
Script file created for Terminal, the command line utility included with Mac OS X; contains plain text shell commands; used for executing commands automatically as if they were typed successively at the command line.
You can double-click a COMMAND file to run it. You can edit a COMMAND file with any text editor.