How to terminate ping &Why does “metacity --replace” hang my system, but “metacity --replace&” is fine?How to redirect output of jobs in background?Ping for 4 timesTerminal not working. Prompt gone!How do I get back to nano after hitting Ctrl-Z if I have no shell prompt (in Matlab session)Terminal command (ping) makes sound on fail/successxdotool does not terminateHow to send a process to background and foreground?Youtube-dl refuses to run in backgroundHow can I run OpenVPN as root in the background, in a script?

bash sort -g does not work properly

Don't understand why (5 | -2) > 0 is False where (5 or -2) > 0 is True

Can other pieces capture a threatening piece and prevent a checkmate?

Bash prompt display HH:MM:SS

Writing in a Christian voice

Air travel with refrigerated insulin

Does fire aspect on a sword, destroy mob drops?

Make the largest box from a cardboard sheet

CLI: Get information Ubuntu releases

How can I query the supported timezones in Apex?

Does Shadow Sorcerer's Eyes of the Dark work on all magical darkness or just his/hers?

Probabilities in non-stationary states

Is "inadequate referencing" a euphemism for plagiarism?

How do you justify more code being written by following clean code practices?

Homology of the fiber

Why is this tree refusing to shed its dead leaves?

Why is "la Gestapo" feminine?

Hey isn't the word *experience* wrongly used in this context

How are passwords stolen from companies if they only store hashes?

What is the reasoning behind standardization (dividing by standard deviation)?

When should a starting writer get his own webpage?

I got the following comment from a reputed math journal. What does it mean?

How can "telecommuting" mean "to not commute or travel"?

Would mining huge amounts of resources on the Moon change its orbit?



How to terminate ping &


Why does “metacity --replace” hang my system, but “metacity --replace&” is fine?How to redirect output of jobs in background?Ping for 4 timesTerminal not working. Prompt gone!How do I get back to nano after hitting Ctrl-Z if I have no shell prompt (in Matlab session)Terminal command (ping) makes sound on fail/successxdotool does not terminateHow to send a process to background and foreground?Youtube-dl refuses to run in backgroundHow can I run OpenVPN as root in the background, in a script?













8















The command



ping <dest> &


causes ping to go to the background. It still prints output to the terminal, however. Ctrl-C does not stop it, only introduces a new prompt. How to stop it from the terminal?










share|improve this question









New contributor




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




















  • In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

    – l0b0
    Mar 15 at 18:07







  • 1





    @l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

    – Vineet
    Mar 15 at 18:20











  • Nitpick: It's not a URL.

    – Roger Lipscombe
    Mar 15 at 18:43











  • @RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

    – Vineet
    Mar 15 at 18:48











  • It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

    – Roger Lipscombe
    Mar 15 at 19:14















8















The command



ping <dest> &


causes ping to go to the background. It still prints output to the terminal, however. Ctrl-C does not stop it, only introduces a new prompt. How to stop it from the terminal?










share|improve this question









New contributor




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




















  • In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

    – l0b0
    Mar 15 at 18:07







  • 1





    @l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

    – Vineet
    Mar 15 at 18:20











  • Nitpick: It's not a URL.

    – Roger Lipscombe
    Mar 15 at 18:43











  • @RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

    – Vineet
    Mar 15 at 18:48











  • It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

    – Roger Lipscombe
    Mar 15 at 19:14













8












8








8








The command



ping <dest> &


causes ping to go to the background. It still prints output to the terminal, however. Ctrl-C does not stop it, only introduces a new prompt. How to stop it from the terminal?










share|improve this question









New contributor




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












The command



ping <dest> &


causes ping to go to the background. It still prints output to the terminal, however. Ctrl-C does not stop it, only introduces a new prompt. How to stop it from the terminal?







command-line






share|improve this question









New contributor




Vineet 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 question









New contributor




Vineet 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 question




share|improve this question








edited Mar 15 at 18:45







Vineet













New contributor




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









asked Mar 15 at 14:13









VineetVineet

467




467




New contributor




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





New contributor





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






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












  • In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

    – l0b0
    Mar 15 at 18:07







  • 1





    @l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

    – Vineet
    Mar 15 at 18:20











  • Nitpick: It's not a URL.

    – Roger Lipscombe
    Mar 15 at 18:43











  • @RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

    – Vineet
    Mar 15 at 18:48











  • It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

    – Roger Lipscombe
    Mar 15 at 19:14

















  • In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

    – l0b0
    Mar 15 at 18:07







  • 1





    @l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

    – Vineet
    Mar 15 at 18:20











  • Nitpick: It's not a URL.

    – Roger Lipscombe
    Mar 15 at 18:43











  • @RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

    – Vineet
    Mar 15 at 18:48











  • It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

    – Roger Lipscombe
    Mar 15 at 19:14
















In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

– l0b0
Mar 15 at 18:07






In addition to the answers, there is a way to naturally limit ping's iterations with a count — -c N — where N is a positive number.

– l0b0
Mar 15 at 18:07





1




1





@l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

– Vineet
Mar 15 at 18:20





@l0b0 Yes true, but I faced this particular problem, and it's actually related to any program where we might not know the execution time, or where it might not even be defined. So I mean to ask how to stop the process.

– Vineet
Mar 15 at 18:20













Nitpick: It's not a URL.

– Roger Lipscombe
Mar 15 at 18:43





Nitpick: It's not a URL.

– Roger Lipscombe
Mar 15 at 18:43













@RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

– Vineet
Mar 15 at 18:48





@RogerLipscombe What do you call it, other than destination? Host is a little unsure, considering that a single computer may host many domains

– Vineet
Mar 15 at 18:48













It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

– Roger Lipscombe
Mar 15 at 19:14





It's a hostname (or an IP address). "a single computer may host many domains" -- not relevant to ping.

– Roger Lipscombe
Mar 15 at 19:14










6 Answers
6






active

oldest

votes


















20














First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.



enter image description here






share|improve this answer

























  • This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

    – Vineet
    Mar 15 at 14:22











  • Yep, that's how it works, you can use jobs to get a list of process that are running in background.

    – Ravexina
    Mar 15 at 14:23











  • How did you make that image loop?

    – phillipsk
    2 days ago






  • 2





    @phillipsk It's GIF, that's how GIF works ...

    – Ravexina
    2 days ago


















12














If it is your one and only background job you can kill it with kill %1. If not sure you can list all your background jobs with jobs and use kill %<n> where you replace n by the number of your ping job.






share|improve this answer


















  • 4





    Also, I found out that n matches the number that is print out in square brackets when running the command.

    – Vineet
    Mar 15 at 14:31


















5














When you send a process to the background, whether by using ctrl-z or by & at the end of the command, you get an output in the following format: [index] process-id. If you send multiple processes to the background, the index will keep incrementing every time.



For example:



$ sleep 100 &
[1] 41608
$ sleep 101 &
[2] 41609
$ sleep 102 &
[3] 41610
$ sleep 103 &
[4] 41611
$ sleep 104 &
[5] 41612
$ sleep 105 &
[6] 41613
$ sleep 106 &
[7] 41614


In order to stop a specific one, you can either use kill <process-id> or use fg <index> followed by ctrl-c



Example using the previous output:



$ kill 41614


or



$ fg 7
sleep 106
^C





share|improve this answer






























    4














    Launch a new tab of terminal, run:



    $ pgrep ping
    2564


    Then kill the pid using kill command:



    $ kill 2564





    share|improve this answer























    • I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

      – Vineet
      Mar 15 at 14:24






    • 2





      When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

      – Byte Commander
      Mar 15 at 14:29











    • This is useful to know, but for this question it's a bit of overkill. :-p

      – tudor
      17 hours ago


















    0














    When you are root, it's simply killall ping.






    share|improve this answer






























      0














      Slightly different approach towards a continuous ping is to use -c option and enter the number of time you want it to run, that way it will stop itself after the desired count i.e. below ping will stop after 100 pings




      ping -c 100 192.168.1.1 &







      share|improve this answer






















        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "89"
        ;
        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: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        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
        );



        );






        Vineet is a new contributor. Be nice, and check out our Code of Conduct.









        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125926%2fhow-to-terminate-ping-dest%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









        20














        First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.



        enter image description here






        share|improve this answer

























        • This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

          – Vineet
          Mar 15 at 14:22











        • Yep, that's how it works, you can use jobs to get a list of process that are running in background.

          – Ravexina
          Mar 15 at 14:23











        • How did you make that image loop?

          – phillipsk
          2 days ago






        • 2





          @phillipsk It's GIF, that's how GIF works ...

          – Ravexina
          2 days ago















        20














        First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.



        enter image description here






        share|improve this answer

























        • This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

          – Vineet
          Mar 15 at 14:22











        • Yep, that's how it works, you can use jobs to get a list of process that are running in background.

          – Ravexina
          Mar 15 at 14:23











        • How did you make that image loop?

          – phillipsk
          2 days ago






        • 2





          @phillipsk It's GIF, that's how GIF works ...

          – Ravexina
          2 days ago













        20












        20








        20







        First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.



        enter image description here






        share|improve this answer















        First enter fg into same terminal that your ping command is running (it brings the process into the foreground), then press Ctrl+c to stop the process.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago

























        answered Mar 15 at 14:17









        RavexinaRavexina

        33k1487114




        33k1487114












        • This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

          – Vineet
          Mar 15 at 14:22











        • Yep, that's how it works, you can use jobs to get a list of process that are running in background.

          – Ravexina
          Mar 15 at 14:23











        • How did you make that image loop?

          – phillipsk
          2 days ago






        • 2





          @phillipsk It's GIF, that's how GIF works ...

          – Ravexina
          2 days ago

















        • This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

          – Vineet
          Mar 15 at 14:22











        • Yep, that's how it works, you can use jobs to get a list of process that are running in background.

          – Ravexina
          Mar 15 at 14:23











        • How did you make that image loop?

          – phillipsk
          2 days ago






        • 2





          @phillipsk It's GIF, that's how GIF works ...

          – Ravexina
          2 days ago
















        This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

        – Vineet
        Mar 15 at 14:22





        This works. I also realized that fg works if we have multiple background processes, by calling them to the foreground one by one.

        – Vineet
        Mar 15 at 14:22













        Yep, that's how it works, you can use jobs to get a list of process that are running in background.

        – Ravexina
        Mar 15 at 14:23





        Yep, that's how it works, you can use jobs to get a list of process that are running in background.

        – Ravexina
        Mar 15 at 14:23













        How did you make that image loop?

        – phillipsk
        2 days ago





        How did you make that image loop?

        – phillipsk
        2 days ago




        2




        2





        @phillipsk It's GIF, that's how GIF works ...

        – Ravexina
        2 days ago





        @phillipsk It's GIF, that's how GIF works ...

        – Ravexina
        2 days ago













        12














        If it is your one and only background job you can kill it with kill %1. If not sure you can list all your background jobs with jobs and use kill %<n> where you replace n by the number of your ping job.






        share|improve this answer


















        • 4





          Also, I found out that n matches the number that is print out in square brackets when running the command.

          – Vineet
          Mar 15 at 14:31















        12














        If it is your one and only background job you can kill it with kill %1. If not sure you can list all your background jobs with jobs and use kill %<n> where you replace n by the number of your ping job.






        share|improve this answer


















        • 4





          Also, I found out that n matches the number that is print out in square brackets when running the command.

          – Vineet
          Mar 15 at 14:31













        12












        12








        12







        If it is your one and only background job you can kill it with kill %1. If not sure you can list all your background jobs with jobs and use kill %<n> where you replace n by the number of your ping job.






        share|improve this answer













        If it is your one and only background job you can kill it with kill %1. If not sure you can list all your background jobs with jobs and use kill %<n> where you replace n by the number of your ping job.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 15 at 14:25









        mucluxmuclux

        3,25611130




        3,25611130







        • 4





          Also, I found out that n matches the number that is print out in square brackets when running the command.

          – Vineet
          Mar 15 at 14:31












        • 4





          Also, I found out that n matches the number that is print out in square brackets when running the command.

          – Vineet
          Mar 15 at 14:31







        4




        4





        Also, I found out that n matches the number that is print out in square brackets when running the command.

        – Vineet
        Mar 15 at 14:31





        Also, I found out that n matches the number that is print out in square brackets when running the command.

        – Vineet
        Mar 15 at 14:31











        5














        When you send a process to the background, whether by using ctrl-z or by & at the end of the command, you get an output in the following format: [index] process-id. If you send multiple processes to the background, the index will keep incrementing every time.



        For example:



        $ sleep 100 &
        [1] 41608
        $ sleep 101 &
        [2] 41609
        $ sleep 102 &
        [3] 41610
        $ sleep 103 &
        [4] 41611
        $ sleep 104 &
        [5] 41612
        $ sleep 105 &
        [6] 41613
        $ sleep 106 &
        [7] 41614


        In order to stop a specific one, you can either use kill <process-id> or use fg <index> followed by ctrl-c



        Example using the previous output:



        $ kill 41614


        or



        $ fg 7
        sleep 106
        ^C





        share|improve this answer



























          5














          When you send a process to the background, whether by using ctrl-z or by & at the end of the command, you get an output in the following format: [index] process-id. If you send multiple processes to the background, the index will keep incrementing every time.



          For example:



          $ sleep 100 &
          [1] 41608
          $ sleep 101 &
          [2] 41609
          $ sleep 102 &
          [3] 41610
          $ sleep 103 &
          [4] 41611
          $ sleep 104 &
          [5] 41612
          $ sleep 105 &
          [6] 41613
          $ sleep 106 &
          [7] 41614


          In order to stop a specific one, you can either use kill <process-id> or use fg <index> followed by ctrl-c



          Example using the previous output:



          $ kill 41614


          or



          $ fg 7
          sleep 106
          ^C





          share|improve this answer

























            5












            5








            5







            When you send a process to the background, whether by using ctrl-z or by & at the end of the command, you get an output in the following format: [index] process-id. If you send multiple processes to the background, the index will keep incrementing every time.



            For example:



            $ sleep 100 &
            [1] 41608
            $ sleep 101 &
            [2] 41609
            $ sleep 102 &
            [3] 41610
            $ sleep 103 &
            [4] 41611
            $ sleep 104 &
            [5] 41612
            $ sleep 105 &
            [6] 41613
            $ sleep 106 &
            [7] 41614


            In order to stop a specific one, you can either use kill <process-id> or use fg <index> followed by ctrl-c



            Example using the previous output:



            $ kill 41614


            or



            $ fg 7
            sleep 106
            ^C





            share|improve this answer













            When you send a process to the background, whether by using ctrl-z or by & at the end of the command, you get an output in the following format: [index] process-id. If you send multiple processes to the background, the index will keep incrementing every time.



            For example:



            $ sleep 100 &
            [1] 41608
            $ sleep 101 &
            [2] 41609
            $ sleep 102 &
            [3] 41610
            $ sleep 103 &
            [4] 41611
            $ sleep 104 &
            [5] 41612
            $ sleep 105 &
            [6] 41613
            $ sleep 106 &
            [7] 41614


            In order to stop a specific one, you can either use kill <process-id> or use fg <index> followed by ctrl-c



            Example using the previous output:



            $ kill 41614


            or



            $ fg 7
            sleep 106
            ^C






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 15 at 14:43









            DanDan

            7,16534573




            7,16534573





















                4














                Launch a new tab of terminal, run:



                $ pgrep ping
                2564


                Then kill the pid using kill command:



                $ kill 2564





                share|improve this answer























                • I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                  – Vineet
                  Mar 15 at 14:24






                • 2





                  When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                  – Byte Commander
                  Mar 15 at 14:29











                • This is useful to know, but for this question it's a bit of overkill. :-p

                  – tudor
                  17 hours ago















                4














                Launch a new tab of terminal, run:



                $ pgrep ping
                2564


                Then kill the pid using kill command:



                $ kill 2564





                share|improve this answer























                • I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                  – Vineet
                  Mar 15 at 14:24






                • 2





                  When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                  – Byte Commander
                  Mar 15 at 14:29











                • This is useful to know, but for this question it's a bit of overkill. :-p

                  – tudor
                  17 hours ago













                4












                4








                4







                Launch a new tab of terminal, run:



                $ pgrep ping
                2564


                Then kill the pid using kill command:



                $ kill 2564





                share|improve this answer













                Launch a new tab of terminal, run:



                $ pgrep ping
                2564


                Then kill the pid using kill command:



                $ kill 2564






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 15 at 14:17









                EmmetEmmet

                7,04522245




                7,04522245












                • I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                  – Vineet
                  Mar 15 at 14:24






                • 2





                  When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                  – Byte Commander
                  Mar 15 at 14:29











                • This is useful to know, but for this question it's a bit of overkill. :-p

                  – tudor
                  17 hours ago

















                • I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                  – Vineet
                  Mar 15 at 14:24






                • 2





                  When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                  – Byte Commander
                  Mar 15 at 14:29











                • This is useful to know, but for this question it's a bit of overkill. :-p

                  – tudor
                  17 hours ago
















                I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                – Vineet
                Mar 15 at 14:24





                I used kill in the same terminal too (though the output made it difficult to use). However, I was wondering what to do if I couldn't go far back up in the terminal to see the process id printed, so pgrep has helped, additionally.

                – Vineet
                Mar 15 at 14:24




                2




                2





                When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                – Byte Commander
                Mar 15 at 14:29





                When you use pgrep to search processes by name, you can also use pkill to kill them by name. No need to type/copy the process id and use kill.

                – Byte Commander
                Mar 15 at 14:29













                This is useful to know, but for this question it's a bit of overkill. :-p

                – tudor
                17 hours ago





                This is useful to know, but for this question it's a bit of overkill. :-p

                – tudor
                17 hours ago











                0














                When you are root, it's simply killall ping.






                share|improve this answer



























                  0














                  When you are root, it's simply killall ping.






                  share|improve this answer

























                    0












                    0








                    0







                    When you are root, it's simply killall ping.






                    share|improve this answer













                    When you are root, it's simply killall ping.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 2 days ago









                    Sim SonSim Son

                    365




                    365





















                        0














                        Slightly different approach towards a continuous ping is to use -c option and enter the number of time you want it to run, that way it will stop itself after the desired count i.e. below ping will stop after 100 pings




                        ping -c 100 192.168.1.1 &







                        share|improve this answer



























                          0














                          Slightly different approach towards a continuous ping is to use -c option and enter the number of time you want it to run, that way it will stop itself after the desired count i.e. below ping will stop after 100 pings




                          ping -c 100 192.168.1.1 &







                          share|improve this answer

























                            0












                            0








                            0







                            Slightly different approach towards a continuous ping is to use -c option and enter the number of time you want it to run, that way it will stop itself after the desired count i.e. below ping will stop after 100 pings




                            ping -c 100 192.168.1.1 &







                            share|improve this answer













                            Slightly different approach towards a continuous ping is to use -c option and enter the number of time you want it to run, that way it will stop itself after the desired count i.e. below ping will stop after 100 pings




                            ping -c 100 192.168.1.1 &








                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered yesterday









                            IbraheemIbraheem

                            235




                            235




















                                Vineet is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                Vineet is a new contributor. Be nice, and check out our Code of Conduct.












                                Vineet is a new contributor. Be nice, and check out our Code of Conduct.











                                Vineet is a new contributor. Be nice, and check out our Code of Conduct.














                                Thanks for contributing an answer to Ask Ubuntu!


                                • 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%2faskubuntu.com%2fquestions%2f1125926%2fhow-to-terminate-ping-dest%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

                                Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum

                                He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

                                Slayer Innehåll Historia | Stil, komposition och lyrik | Bandets betydelse och framgångar | Sidoprojekt och samarbeten | Kontroverser | Medlemmar | Utmärkelser och nomineringar | Turnéer och festivaler | Diskografi | Referenser | Externa länkar | Navigeringsmenywww.slayer.net”Metal Massacre vol. 1””Metal Massacre vol. 3””Metal Massacre Volume III””Show No Mercy””Haunting the Chapel””Live Undead””Hell Awaits””Reign in Blood””Reign in Blood””Gold & Platinum – Reign in Blood””Golden Gods Awards Winners”originalet”Kerrang! Hall Of Fame””Slayer Looks Back On 37-Year Career In New Video Series: Part Two””South of Heaven””Gold & Platinum – South of Heaven””Seasons in the Abyss””Gold & Platinum - Seasons in the Abyss””Divine Intervention””Divine Intervention - Release group by Slayer””Gold & Platinum - Divine Intervention””Live Intrusion””Undisputed Attitude””Abolish Government/Superficial Love””Release “Slatanic Slaughter: A Tribute to Slayer” by Various Artists””Diabolus in Musica””Soundtrack to the Apocalypse””God Hates Us All””Systematic - Relationships””War at the Warfield””Gold & Platinum - War at the Warfield””Soundtrack to the Apocalypse””Gold & Platinum - Still Reigning””Metallica, Slayer, Iron Mauden Among Winners At Metal Hammer Awards””Eternal Pyre””Eternal Pyre - Slayer release group””Eternal Pyre””Metal Storm Awards 2006””Kerrang! Hall Of Fame””Slayer Wins 'Best Metal' Grammy Award””Slayer Guitarist Jeff Hanneman Dies””Bullet-For My Valentine booed at Metal Hammer Golden Gods Awards””Unholy Aliance””The End Of Slayer?””Slayer: We Could Thrash Out Two More Albums If We're Fast Enough...””'The Unholy Alliance: Chapter III' UK Dates Added”originalet”Megadeth And Slayer To Co-Headline 'Canadian Carnage' Trek”originalet”World Painted Blood””Release “World Painted Blood” by Slayer””Metallica Heading To Cinemas””Slayer, Megadeth To Join Forces For 'European Carnage' Tour - Dec. 18, 2010”originalet”Slayer's Hanneman Contracts Acute Infection; Band To Bring In Guest Guitarist””Cannibal Corpse's Pat O'Brien Will Step In As Slayer's Guest Guitarist”originalet”Slayer’s Jeff Hanneman Dead at 49””Dave Lombardo Says He Made Only $67,000 In 2011 While Touring With Slayer””Slayer: We Do Not Agree With Dave Lombardo's Substance Or Timeline Of Events””Slayer Welcomes Drummer Paul Bostaph Back To The Fold””Slayer Hope to Unveil Never-Before-Heard Jeff Hanneman Material on Next Album””Slayer Debut New Song 'Implode' During Surprise Golden Gods Appearance””Release group Repentless by Slayer””Repentless - Slayer - Credits””Slayer””Metal Storm Awards 2015””Slayer - to release comic book "Repentless #1"””Slayer To Release 'Repentless' 6.66" Vinyl Box Set””BREAKING NEWS: Slayer Announce Farewell Tour””Slayer Recruit Lamb of God, Anthrax, Behemoth + Testament for Final Tour””Slayer lägger ner efter 37 år””Slayer Announces Second North American Leg Of 'Final' Tour””Final World Tour””Slayer Announces Final European Tour With Lamb of God, Anthrax And Obituary””Slayer To Tour Europe With Lamb of God, Anthrax And Obituary””Slayer To Play 'Last French Show Ever' At Next Year's Hellfst””Slayer's Final World Tour Will Extend Into 2019””Death Angel's Rob Cavestany On Slayer's 'Farewell' Tour: 'Some Of Us Could See This Coming'””Testament Has No Plans To Retire Anytime Soon, Says Chuck Billy””Anthrax's Scott Ian On Slayer's 'Farewell' Tour Plans: 'I Was Surprised And I Wasn't Surprised'””Slayer””Slayer's Morbid Schlock””Review/Rock; For Slayer, the Mania Is the Message””Slayer - Biography””Slayer - Reign In Blood”originalet”Dave Lombardo””An exclusive oral history of Slayer”originalet”Exclusive! Interview With Slayer Guitarist Jeff Hanneman”originalet”Thinking Out Loud: Slayer's Kerry King on hair metal, Satan and being polite””Slayer Lyrics””Slayer - Biography””Most influential artists for extreme metal music””Slayer - Reign in Blood””Slayer guitarist Jeff Hanneman dies aged 49””Slatanic Slaughter: A Tribute to Slayer””Gateway to Hell: A Tribute to Slayer””Covered In Blood””Slayer: The Origins of Thrash in San Francisco, CA.””Why They Rule - #6 Slayer”originalet”Guitar World's 100 Greatest Heavy Metal Guitarists Of All Time”originalet”The fans have spoken: Slayer comes out on top in readers' polls”originalet”Tribute to Jeff Hanneman (1964-2013)””Lamb Of God Frontman: We Sound Like A Slayer Rip-Off””BEHEMOTH Frontman Pays Tribute To SLAYER's JEFF HANNEMAN””Slayer, Hatebreed Doing Double Duty On This Year's Ozzfest””System of a Down””Lacuna Coil’s Andrea Ferro Talks Influences, Skateboarding, Band Origins + More””Slayer - Reign in Blood””Into The Lungs of Hell””Slayer rules - en utställning om fans””Slayer and Their Fans Slashed Through a No-Holds-Barred Night at Gas Monkey””Home””Slayer””Gold & Platinum - The Big 4 Live from Sofia, Bulgaria””Exclusive! Interview With Slayer Guitarist Kerry King””2008-02-23: Wiltern, Los Angeles, CA, USA””Slayer's Kerry King To Perform With Megadeth Tonight! - Oct. 21, 2010”originalet”Dave Lombardo - Biography”Slayer Case DismissedArkiveradUltimate Classic Rock: Slayer guitarist Jeff Hanneman dead at 49.”Slayer: "We could never do any thing like Some Kind Of Monster..."””Cannibal Corpse'S Pat O'Brien Will Step In As Slayer'S Guest Guitarist | The Official Slayer Site”originalet”Slayer Wins 'Best Metal' Grammy Award””Slayer Guitarist Jeff Hanneman Dies””Kerrang! Awards 2006 Blog: Kerrang! Hall Of Fame””Kerrang! Awards 2013: Kerrang! Legend”originalet”Metallica, Slayer, Iron Maien Among Winners At Metal Hammer Awards””Metal Hammer Golden Gods Awards””Bullet For My Valentine Booed At Metal Hammer Golden Gods Awards””Metal Storm Awards 2006””Metal Storm Awards 2015””Slayer's Concert History””Slayer - Relationships””Slayer - Releases”Slayers officiella webbplatsSlayer på MusicBrainzOfficiell webbplatsSlayerSlayerr1373445760000 0001 1540 47353068615-5086262726cb13906545x(data)6033143kn20030215029