Phác Chí Huấn
New member
How do I exit BC in Linux?
Answer
4 Answers. You can do just echo quit |
bc -q gpay > tgpay
, which will act almost like entering “quit” from the keyboard. As another option, you may write bc < gpay > tgpay , which will pass the contents of gpay to stdin, running bc in non-interactive mode.
Answer
4 Answers. You can do just echo quit |
bc -q gpay > tgpay
, which will act almost like entering “quit” from the keyboard. As another option, you may write bc < gpay > tgpay , which will pass the contents of gpay to stdin, running bc in non-interactive mode.