0

I have a problem, I accidentally did tail -f on a log, but now I cant quit! - Its the anaconda log during a redhat install. Control-C doesn't seem to work, I guess due to it saying sh: no job control in this shell ? But I really need to stop tailing as the install is one, and I have to reboot the box.

closed as off-topic by Kusalananda Apr 21 at 18:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Kusalananda
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Try typing Control-\ (that is, the backslash key), which will usually generate a SIGQUIT and terminate the foreground process. – Mark Plotnick Jan 22 '14 at 15:56
  • Didnt work :( Its whatever shell (busybox?) rhel says during installl, via some retro HP lights out cards virtual serial port. – user49411 Jan 23 '14 at 17:28
1

Log in on a different terminal/shell.
Use ps to check the PID.
Use kill to stop the process.

  • I cant, I have one serial console. – user49411 Jan 22 '14 at 15:32
  • Ouch... And no second serial terminal available I presume? Is it a remote system? – Fabricio Jan 22 '14 at 16:32
  • If it is a local system then you could also try to connect a screen and keyboard to it.. But if that was the case you would have probably already thought of it. – Fabricio Jan 22 '14 at 16:33
  • Remote system. I just had to power cycle it. – user49411 Jan 23 '14 at 16:32
  • Sorry to hear about that. But maybe next time you ask a question maybe it would be good to tell the whole story to avoid more or less useless answers... like mine... ;-) – Fabricio Jan 23 '14 at 21:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.