Hello,
I am looking for the best way to exit a log file after doing tail -f on a sh file in the hp-ux command line. I've googled the problem and so far haven't found a solution.
I know there is a command for it because I've used it before but I can't remember what it was, if anyone has any advice, it would be greatly appreciated
thanks in advance
hp unix, how to exit tail -f?
Page 1 of 13 Replies - 1116 Views - Last Post: 30 December 2012 - 11:28 PM
Replies To: hp unix, how to exit tail -f?
#2
Re: hp unix, how to exit tail -f?
Posted 23 August 2012 - 11:28 AM
I always use control c to bail. I don't think that there is a clean way. You could also open a new terminal window, check for the tail pid (process id) with grep ps aux | grep tail | grep -v grep & then kill that pid with -9 kill -9 ${PID}.
#3
Re: hp unix, how to exit tail -f?
Posted 23 August 2012 - 11:29 AM
thanks, ctrl+c works
#4
Re: hp unix, how to exit tail -f?
Posted 30 December 2012 - 11:28 PM
FYI, CTRL+C works, but did you try q? In my experience, pressing q works for tail, man, less, and a number of other command line programs similar (I'll double check next time I am at work. Not like I keep HP-UX sitting around at home!). Also, feels for you on using HP-UX
Page 1 of 1
|
|

New Topic/Question


MultiQuote





|