If I do
ping google.com &, the process goes into the background and keeps showing me the ping details. I can still use terminal with other commands, but the output from ping and output from other commands get mixed up (which is not a problem), but I can't terminate this ping process at all.
For that I want to bring it to the foreground and then press ctrl + c or something. I tried using
fg, but it didn't work either. So how do I make
ping google.com & come back into foreground after I hit return key at the end of my ping command?