.COMMAND File Extension

Terminal Command File

The command file extension relates to the OS X Terminal, a terminal emulator. A command file contains script for the Terminal. To open, double-click the *.command file in Finder. You can view contents...

General Information

Title COMMAND File Extension
Extension .command
Full Form Terminal Command File
File Type Script File
Developer N/A
MIME Type text/plain

File Function

Primary Function Store commands
Additional Functions Automate tasks
Features Plain text, Executable

File Characteristics

Quality Depends on script
Supports Layers N/A
Supports Transparency N/A
Editable Yes

Use Cases

Automation Yes
Scripting Yes
System Administration Yes

Security and Practices

Security Risks Script injection
Best Practices Validate source, Limit permissions

Historical/Version Information

Associated with macOS
Notes Unix origin

Associated Types

Similar Extensions .sh, .bash, .zsh

Software Compatibility

Software Usage Policy OS Compatibility
TextEdit Free Mac
Apple Terminal Free Mac
Visual Studio Code Free Windows, Mac, Linux