Exercise 2, Chapter 3 – Job control

This topic contains 2 replies, has 3 voices, and was last updated by  complete_bliss 3 months, 3 weeks ago.

  • Author
    Posts
  • #3696

    yaked7
    Participant

    Hi all,

    when I run the ping to the background it is still showing the output on my screen like “64 bytes from 127.0.0.1…” thus interrupting my further typing. I assume this is not desired. How can I prevent this?

    Thanks
    Daniel

  • #3704

    _defalt
    Participant

    Ctrl+C to terminate.

  • #10755

    complete_bliss
    Participant

    hi,

    You can redirect the output to a file if you don’t want to see it on screen. You can use below command.

    >ping -i localhost > ping1 &

    after your practice delete the ping1 file in your current directory.

You must be logged in to reply to this topic.

Back to Top