I'm just starting to screw around with bitcoin mining. I've been a long time Boinc pseudo-enthusiast and so I just had to check out bitcoin mining. I've started using bfgminer and I'm a little confused as to how its administration should go.

I get it running in the terminal and it shows me the main menu, but is there a way to exit out of that menu and keep it running in the background? Then once it's going, is there a way to bring the menu back up to check in on it?

I've looked around for an answer to this and I haven't been able to find one yet; can anyone put me on the right track?

Many thanks in advance!

1 Answer 1


GNU Screen is often the ideal tool to run interactive programs in the background. You can also run it with --syslog and/or --api-listen to have a more traditional daemon-type process.

  • 1
    Hey, thanks for the reply Luke! Would I be correct in presuming that you're the manager of the bfgminer project? If so, many thanks for the software! I think I'm sort of getting the picture but say I wanted to get it running via ssh and then forget it would I run bfgminer --api-listen? In that case, how might I be able to log back in to check how it's running? Thanks again for the reply. Nov 24, 2013 at 7:50
  • If you start BFGMiner outside a screen and without --api-listen, the only way to get into it remotely would be to attach GDB and manually start it - and that wouldn't be very simple. Nov 27, 2013 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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