My computer is Mac. I want to know how to close files like pdfs, images, applications through terminal. Sometimes, I open so many pdfs images and applications, I want to use terminal to close them. Thanks
Mac – How to close files through terminal
macterminal
Best Answer
You can close documents through terminal by killing the process displaying it. Use the
ps
command to find the process, then use thekill
command to terminate it.