mac terminal commands kill process code example Example: kill process macos Click on top left menu -> Macos (Apple) -> force quit