Web Hosting Talk







View Full Version : exiting tail -f


Christopher
12-23-2003, 11:09 PM
Silly question I'm sure.... but I 'discovered' this great way to look at log files realtime, tail -f path to file.

But then I needed to close it and return to the prompt, and had no idea how to do that, other than disconnect my ssh session.

How am I supposed to do that for real?

Thanks :)

Chris

Steven
12-23-2003, 11:20 PM
ctrl + z

kenrbnsn
12-23-2003, 11:27 PM
ctrl + z

But doesn't ctrl+z just stop the process so you can do something else and then continue it or put it in the background (doesn't make much sense for a tail -f).

crtl+c ends the process. I think this would be what the original poster wants.

Steven
12-23-2003, 11:29 PM
good point

Christopher
12-24-2003, 12:06 AM
Got it, thank you, and happy holidays to both of you!

Chris