I usually have multiple windows requiring to close before sleeping. (all the contents are saved already)
I attempt to accomplish it in terminal so I can encapsulate commands to some script.
$ close -a atom -bash: close: command not found $ close -a Opera -bash: close: command not found
How to solve the problem?