How to exit from cat command from terminal program.
Hi.
I use the command cat>binary.txt. Then I type in what I want in the file like this:
generic
But how do I exit after typing the information? I tried several keyboard keys but they are just written on the screen ( I think ascii ). Neither typing exit nor quit seem to respond. I just exit the terminal program but that is cumbersome if there are more commands to do.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Christophe Painchaud
- Solved:
- 2008-07-10
- Last query:
- 2008-07-10
- Last reply:
- 2008-07-09
This question was reopened
- 2008-07-09 by Richard Hamitt
Try oressing Ctrl+C
Try pressing Ctrl+C
Thanks Sayak Banerjee, that solved my question.
Glad I could help!
That helped with exiting from the cat command, but the information I typed is not used in the project. If I exit from the terminal program right after entering the information, the information is used. I am not sure if it is problem with the project or with the terminal program itself.
when someone solves your question, use the menu to select his answer as the right answer. It will mark your question as solved
Thank you but it did not really solve the problem. I did find that I must use Ctrl+D to save and exit what I type in. Ctrl+C just exits.