How can I quit an app using Terminal? The Next CEO of Stack OverflowAutomatically quit Terminal when typing exitHow can I delete saved commands from Terminal?Bash Script that will start up second Terminal process?How do I kill a process that won't die?How do I programatically kill the CCLibrary process by PID?How does one start a bash command that doesn't close on Terminal quit?Force quit apps on shutdown automaticallyQuit terminal but store the session for next startI can't force quit an app (Wine)!Uninstalled Application Running in Background on Mac

How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

Anatomically Correct Strange Women In Ponds Distributing Swords

Science fiction (dystopian) short story set after WWIII

Why did we only see the N-1 starfighters in one film?

Is it okay to store user locations?

% symbol leads to superlong (forever?) compilations

Why Were Madagascar and New Zealand Discovered So Late?

If the heap is initialized for security, then why is the stack uninitialized?

What makes a siege story/plot interesting?

How to safely derail a train during transit?

How to use tikz in fbox?

Removing read access from a file

Why do remote companies require working in the US?

How to make a software documentation "officially" citable?

Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?

Science fiction novels about a solar system spanning civilisation where people change their bodies at will

How can I open an app using Terminal?

Does it take more energy to get to Venus or to Mars?

Does the Brexit deal have to be agreed by both Houses?

Visit to the USA with ESTA approved before trip to Iran

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?



How can I quit an app using Terminal?



The Next CEO of Stack OverflowAutomatically quit Terminal when typing exitHow can I delete saved commands from Terminal?Bash Script that will start up second Terminal process?How do I kill a process that won't die?How do I programatically kill the CCLibrary process by PID?How does one start a bash command that doesn't close on Terminal quit?Force quit apps on shutdown automaticallyQuit terminal but store the session for next startI can't force quit an app (Wine)!Uninstalled Application Running in Background on Mac










17















I want to quit a certain applications on my Mac using Terminal. For example, how do I kill “Slack”? Do I need its PID number?










share|improve this question



















  • 6





    killall Slack works, I just tested...

    – Wowfunhappy
    yesterday











  • I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

    – Pedro Lobito
    15 hours ago







  • 4





    @PedroLobito on-topic questions should not be migrated to other sites though...

    – Andrew T.
    11 hours ago
















17















I want to quit a certain applications on my Mac using Terminal. For example, how do I kill “Slack”? Do I need its PID number?










share|improve this question



















  • 6





    killall Slack works, I just tested...

    – Wowfunhappy
    yesterday











  • I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

    – Pedro Lobito
    15 hours ago







  • 4





    @PedroLobito on-topic questions should not be migrated to other sites though...

    – Andrew T.
    11 hours ago














17












17








17


3






I want to quit a certain applications on my Mac using Terminal. For example, how do I kill “Slack”? Do I need its PID number?










share|improve this question
















I want to quit a certain applications on my Mac using Terminal. For example, how do I kill “Slack”? Do I need its PID number?







terminal mac






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 18 hours ago







Brainmaniac

















asked yesterday









BrainmaniacBrainmaniac

2527




2527







  • 6





    killall Slack works, I just tested...

    – Wowfunhappy
    yesterday











  • I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

    – Pedro Lobito
    15 hours ago







  • 4





    @PedroLobito on-topic questions should not be migrated to other sites though...

    – Andrew T.
    11 hours ago













  • 6





    killall Slack works, I just tested...

    – Wowfunhappy
    yesterday











  • I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

    – Pedro Lobito
    15 hours ago







  • 4





    @PedroLobito on-topic questions should not be migrated to other sites though...

    – Andrew T.
    11 hours ago








6




6





killall Slack works, I just tested...

– Wowfunhappy
yesterday





killall Slack works, I just tested...

– Wowfunhappy
yesterday













I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

– Pedro Lobito
15 hours ago






I wonder why this question wasn't migrated to superuser, if it did, it'd be closed as duplicated in no time.

– Pedro Lobito
15 hours ago





4




4





@PedroLobito on-topic questions should not be migrated to other sites though...

– Andrew T.
11 hours ago






@PedroLobito on-topic questions should not be migrated to other sites though...

– Andrew T.
11 hours ago











6 Answers
6






active

oldest

votes


















21














No, you do not need to know its PID.



You can use:



pkill Slack


Or:



killall Slack



Note: Be sure to read the manual page for whichever command you choose to use, in order to see the various options available to the command, as may be relevant to its particular usage. In Terminal type e.g. man pkill and press enter, or just type the command and right-click on it, then select: Open man Page






share|improve this answer
































    8














    Since I don't yet have the reputation to comment, I'm saying this as a separate answer. pkill without any flags does not match a specific process! For example, running pkill foo would target processes named foo, but would also target processes named foobar. This is because it uses regular expressions.



    If you wish to kill a specific process, you can pass it the -x flag. For example, pkill -x foo. This will use exact names instead of regular expressions.






    share|improve this answer






























      7














      You can install htop then click on the Slack process line and type k9





      share








      New contributor




      BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.





















        5














        You can use AppleScript to tell the application to quit:



        osascript -e 'quit app "Slack"'


        this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERM signal with pkill but it could be that the application will not shut down cleanly



        pkill -x Slack





        share|improve this answer




















        • 4





          This is the best method, because it replicates what happens when you use File>Quit from the menu.

          – Barmar
          8 hours ago


















        4














        I'm not sure for Slack, but some Applications will run multiple Processes and you may want to kill just one (I find I often need to do this with iTunes, for example). In that case, you can run



        ps -e | grep -i slack


        To find all Processes with case-insensitive "slack" in the name. The output should look like (without the header):



        PID TTY TIME CMD
        649 pts/1 00:00:00 bash


        That first column will be your PID. You can then use that to kill specifically that process:



        kill -9 649


        Replacing 649 with your PID you found from calling ps.






        share|improve this answer


















        • 1





          kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

          – Matteo
          6 hours ago


















        -1














        A simple oneliner should do the trick for you:



        ps aux | grep [s]lack | awk 'print $2' | xargs kill -9


        ps aux -> list all processes
        a = show processes for all users
        u = display the process's user/owner
        x = also show processes not attached to a terminal



        grep -> search for a particular process by name or any identifier



        awk 'print $2' -> get the 2nd column entries from the result of grep
        xargs kill -9 -> kill the processes gracefully.






        share|improve this answer








        New contributor




        Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.















        • 1





          Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

          – user3439894
          6 hours ago











        • kill -9 is not "gracefully", it's exactly the opposite

          – Matteo
          3 hours ago











        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "118"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f354954%2fhow-can-i-quit-an-app-using-terminal%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        21














        No, you do not need to know its PID.



        You can use:



        pkill Slack


        Or:



        killall Slack



        Note: Be sure to read the manual page for whichever command you choose to use, in order to see the various options available to the command, as may be relevant to its particular usage. In Terminal type e.g. man pkill and press enter, or just type the command and right-click on it, then select: Open man Page






        share|improve this answer





























          21














          No, you do not need to know its PID.



          You can use:



          pkill Slack


          Or:



          killall Slack



          Note: Be sure to read the manual page for whichever command you choose to use, in order to see the various options available to the command, as may be relevant to its particular usage. In Terminal type e.g. man pkill and press enter, or just type the command and right-click on it, then select: Open man Page






          share|improve this answer



























            21












            21








            21







            No, you do not need to know its PID.



            You can use:



            pkill Slack


            Or:



            killall Slack



            Note: Be sure to read the manual page for whichever command you choose to use, in order to see the various options available to the command, as may be relevant to its particular usage. In Terminal type e.g. man pkill and press enter, or just type the command and right-click on it, then select: Open man Page






            share|improve this answer















            No, you do not need to know its PID.



            You can use:



            pkill Slack


            Or:



            killall Slack



            Note: Be sure to read the manual page for whichever command you choose to use, in order to see the various options available to the command, as may be relevant to its particular usage. In Terminal type e.g. man pkill and press enter, or just type the command and right-click on it, then select: Open man Page







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 14 hours ago

























            answered yesterday









            user3439894user3439894

            28.4k64665




            28.4k64665























                8














                Since I don't yet have the reputation to comment, I'm saying this as a separate answer. pkill without any flags does not match a specific process! For example, running pkill foo would target processes named foo, but would also target processes named foobar. This is because it uses regular expressions.



                If you wish to kill a specific process, you can pass it the -x flag. For example, pkill -x foo. This will use exact names instead of regular expressions.






                share|improve this answer



























                  8














                  Since I don't yet have the reputation to comment, I'm saying this as a separate answer. pkill without any flags does not match a specific process! For example, running pkill foo would target processes named foo, but would also target processes named foobar. This is because it uses regular expressions.



                  If you wish to kill a specific process, you can pass it the -x flag. For example, pkill -x foo. This will use exact names instead of regular expressions.






                  share|improve this answer

























                    8












                    8








                    8







                    Since I don't yet have the reputation to comment, I'm saying this as a separate answer. pkill without any flags does not match a specific process! For example, running pkill foo would target processes named foo, but would also target processes named foobar. This is because it uses regular expressions.



                    If you wish to kill a specific process, you can pass it the -x flag. For example, pkill -x foo. This will use exact names instead of regular expressions.






                    share|improve this answer













                    Since I don't yet have the reputation to comment, I'm saying this as a separate answer. pkill without any flags does not match a specific process! For example, running pkill foo would target processes named foo, but would also target processes named foobar. This is because it uses regular expressions.



                    If you wish to kill a specific process, you can pass it the -x flag. For example, pkill -x foo. This will use exact names instead of regular expressions.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered yesterday









                    user321134user321134

                    933




                    933





















                        7














                        You can install htop then click on the Slack process line and type k9





                        share








                        New contributor




                        BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.










                        We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.


















                          7














                          You can install htop then click on the Slack process line and type k9





                          share








                          New contributor




                          BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
















                            7












                            7








                            7







                            You can install htop then click on the Slack process line and type k9





                            share








                            New contributor




                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            You can install htop then click on the Slack process line and type k9






                            share








                            New contributor




                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            share


                            share






                            New contributor




                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered yesterday









                            BEFioBEFio

                            711




                            711




                            New contributor




                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            BEFio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.



                            We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.




                            We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.






















                                5














                                You can use AppleScript to tell the application to quit:



                                osascript -e 'quit app "Slack"'


                                this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERM signal with pkill but it could be that the application will not shut down cleanly



                                pkill -x Slack





                                share|improve this answer




















                                • 4





                                  This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                  – Barmar
                                  8 hours ago















                                5














                                You can use AppleScript to tell the application to quit:



                                osascript -e 'quit app "Slack"'


                                this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERM signal with pkill but it could be that the application will not shut down cleanly



                                pkill -x Slack





                                share|improve this answer




















                                • 4





                                  This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                  – Barmar
                                  8 hours ago













                                5












                                5








                                5







                                You can use AppleScript to tell the application to quit:



                                osascript -e 'quit app "Slack"'


                                this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERM signal with pkill but it could be that the application will not shut down cleanly



                                pkill -x Slack





                                share|improve this answer















                                You can use AppleScript to tell the application to quit:



                                osascript -e 'quit app "Slack"'


                                this will tell the application to quit and will start all the save and cleanup tasks. Or you can send the TERM signal with pkill but it could be that the application will not shut down cleanly



                                pkill -x Slack






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited 3 hours ago

























                                answered 17 hours ago









                                MatteoMatteo

                                5,181135598




                                5,181135598







                                • 4





                                  This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                  – Barmar
                                  8 hours ago












                                • 4





                                  This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                  – Barmar
                                  8 hours ago







                                4




                                4





                                This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                – Barmar
                                8 hours ago





                                This is the best method, because it replicates what happens when you use File>Quit from the menu.

                                – Barmar
                                8 hours ago











                                4














                                I'm not sure for Slack, but some Applications will run multiple Processes and you may want to kill just one (I find I often need to do this with iTunes, for example). In that case, you can run



                                ps -e | grep -i slack


                                To find all Processes with case-insensitive "slack" in the name. The output should look like (without the header):



                                PID TTY TIME CMD
                                649 pts/1 00:00:00 bash


                                That first column will be your PID. You can then use that to kill specifically that process:



                                kill -9 649


                                Replacing 649 with your PID you found from calling ps.






                                share|improve this answer


















                                • 1





                                  kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                  – Matteo
                                  6 hours ago















                                4














                                I'm not sure for Slack, but some Applications will run multiple Processes and you may want to kill just one (I find I often need to do this with iTunes, for example). In that case, you can run



                                ps -e | grep -i slack


                                To find all Processes with case-insensitive "slack" in the name. The output should look like (without the header):



                                PID TTY TIME CMD
                                649 pts/1 00:00:00 bash


                                That first column will be your PID. You can then use that to kill specifically that process:



                                kill -9 649


                                Replacing 649 with your PID you found from calling ps.






                                share|improve this answer


















                                • 1





                                  kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                  – Matteo
                                  6 hours ago













                                4












                                4








                                4







                                I'm not sure for Slack, but some Applications will run multiple Processes and you may want to kill just one (I find I often need to do this with iTunes, for example). In that case, you can run



                                ps -e | grep -i slack


                                To find all Processes with case-insensitive "slack" in the name. The output should look like (without the header):



                                PID TTY TIME CMD
                                649 pts/1 00:00:00 bash


                                That first column will be your PID. You can then use that to kill specifically that process:



                                kill -9 649


                                Replacing 649 with your PID you found from calling ps.






                                share|improve this answer













                                I'm not sure for Slack, but some Applications will run multiple Processes and you may want to kill just one (I find I often need to do this with iTunes, for example). In that case, you can run



                                ps -e | grep -i slack


                                To find all Processes with case-insensitive "slack" in the name. The output should look like (without the header):



                                PID TTY TIME CMD
                                649 pts/1 00:00:00 bash


                                That first column will be your PID. You can then use that to kill specifically that process:



                                kill -9 649


                                Replacing 649 with your PID you found from calling ps.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered yesterday









                                scohe001scohe001

                                32439




                                32439







                                • 1





                                  kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                  – Matteo
                                  6 hours ago












                                • 1





                                  kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                  – Matteo
                                  6 hours ago







                                1




                                1





                                kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                – Matteo
                                6 hours ago





                                kill sends a signal to terminate the app. It is not necessary to use -9 (kill) if the application is responding. You risk to loose unsaved data

                                – Matteo
                                6 hours ago











                                -1














                                A simple oneliner should do the trick for you:



                                ps aux | grep [s]lack | awk 'print $2' | xargs kill -9


                                ps aux -> list all processes
                                a = show processes for all users
                                u = display the process's user/owner
                                x = also show processes not attached to a terminal



                                grep -> search for a particular process by name or any identifier



                                awk 'print $2' -> get the 2nd column entries from the result of grep
                                xargs kill -9 -> kill the processes gracefully.






                                share|improve this answer








                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.















                                • 1





                                  Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                  – user3439894
                                  6 hours ago











                                • kill -9 is not "gracefully", it's exactly the opposite

                                  – Matteo
                                  3 hours ago















                                -1














                                A simple oneliner should do the trick for you:



                                ps aux | grep [s]lack | awk 'print $2' | xargs kill -9


                                ps aux -> list all processes
                                a = show processes for all users
                                u = display the process's user/owner
                                x = also show processes not attached to a terminal



                                grep -> search for a particular process by name or any identifier



                                awk 'print $2' -> get the 2nd column entries from the result of grep
                                xargs kill -9 -> kill the processes gracefully.






                                share|improve this answer








                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.















                                • 1





                                  Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                  – user3439894
                                  6 hours ago











                                • kill -9 is not "gracefully", it's exactly the opposite

                                  – Matteo
                                  3 hours ago













                                -1












                                -1








                                -1







                                A simple oneliner should do the trick for you:



                                ps aux | grep [s]lack | awk 'print $2' | xargs kill -9


                                ps aux -> list all processes
                                a = show processes for all users
                                u = display the process's user/owner
                                x = also show processes not attached to a terminal



                                grep -> search for a particular process by name or any identifier



                                awk 'print $2' -> get the 2nd column entries from the result of grep
                                xargs kill -9 -> kill the processes gracefully.






                                share|improve this answer








                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.










                                A simple oneliner should do the trick for you:



                                ps aux | grep [s]lack | awk 'print $2' | xargs kill -9


                                ps aux -> list all processes
                                a = show processes for all users
                                u = display the process's user/owner
                                x = also show processes not attached to a terminal



                                grep -> search for a particular process by name or any identifier



                                awk 'print $2' -> get the 2nd column entries from the result of grep
                                xargs kill -9 -> kill the processes gracefully.







                                share|improve this answer








                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                share|improve this answer



                                share|improve this answer






                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                answered 7 hours ago









                                AbhishekAbhishek

                                11




                                11




                                New contributor




                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.





                                New contributor





                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.






                                Abhishek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.







                                • 1





                                  Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                  – user3439894
                                  6 hours ago











                                • kill -9 is not "gracefully", it's exactly the opposite

                                  – Matteo
                                  3 hours ago












                                • 1





                                  Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                  – user3439894
                                  6 hours ago











                                • kill -9 is not "gracefully", it's exactly the opposite

                                  – Matteo
                                  3 hours ago







                                1




                                1





                                Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                – user3439894
                                6 hours ago





                                Your answer is hardly a simple one-liner compared to pkill Slack, which is all that's necessary as there should be only one occurrence and the default signal is to terminate gracefully.

                                – user3439894
                                6 hours ago













                                kill -9 is not "gracefully", it's exactly the opposite

                                – Matteo
                                3 hours ago





                                kill -9 is not "gracefully", it's exactly the opposite

                                – Matteo
                                3 hours ago

















                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Ask Different!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f354954%2fhow-can-i-quit-an-app-using-terminal%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                                Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070