Cat activates mystery prompt [duplicate]

Clash Royale CLAN TAG#URR8PPP
This question already has an answer here:
Exit of “> ” mode in Unix shell
1 answer
My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~ ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?
arch-linux prompt
marked as duplicate by steeldriver, tink, Olorin, Rui F Ribeiro, Kusalananda Feb 20 at 8:16
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Exit of “> ” mode in Unix shell
1 answer
My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~ ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?
arch-linux prompt
marked as duplicate by steeldriver, tink, Olorin, Rui F Ribeiro, Kusalananda Feb 20 at 8:16
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
you could have confused everyone and said that thecatcommand is producing weird results ...... lol
– jsotola
Feb 20 at 6:50
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16
add a comment |
This question already has an answer here:
Exit of “> ” mode in Unix shell
1 answer
My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~ ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?
arch-linux prompt
This question already has an answer here:
Exit of “> ” mode in Unix shell
1 answer
My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~ ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?
This question already has an answer here:
Exit of “> ” mode in Unix shell
1 answer
arch-linux prompt
arch-linux prompt
asked Feb 20 at 3:06
Tyler DurdenTyler Durden
1,66642450
1,66642450
marked as duplicate by steeldriver, tink, Olorin, Rui F Ribeiro, Kusalananda Feb 20 at 8:16
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by steeldriver, tink, Olorin, Rui F Ribeiro, Kusalananda Feb 20 at 8:16
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
you could have confused everyone and said that thecatcommand is producing weird results ...... lol
– jsotola
Feb 20 at 6:50
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16
add a comment |
you could have confused everyone and said that thecatcommand is producing weird results ...... lol
– jsotola
Feb 20 at 6:50
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16
you could have confused everyone and said that the
cat command is producing weird results ...... lol– jsotola
Feb 20 at 6:50
you could have confused everyone and said that the
cat command is producing weird results ...... lol– jsotola
Feb 20 at 6:50
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16
add a comment |
1 Answer
1
active
oldest
votes
This is caused when something is entered into the terminal that looks like an expression that requires more input from the user or is a unclosed quotation that causes the terminal to also expect more input.
For Example if you type: echo "Hello then press enter, you get the carrot.
Then if you type " and press enter it will complete as expected. If you type anything else it behaves as you have seen until you " and then it will spit out what ever it was, or you will have to ^C.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is caused when something is entered into the terminal that looks like an expression that requires more input from the user or is a unclosed quotation that causes the terminal to also expect more input.
For Example if you type: echo "Hello then press enter, you get the carrot.
Then if you type " and press enter it will complete as expected. If you type anything else it behaves as you have seen until you " and then it will spit out what ever it was, or you will have to ^C.
add a comment |
This is caused when something is entered into the terminal that looks like an expression that requires more input from the user or is a unclosed quotation that causes the terminal to also expect more input.
For Example if you type: echo "Hello then press enter, you get the carrot.
Then if you type " and press enter it will complete as expected. If you type anything else it behaves as you have seen until you " and then it will spit out what ever it was, or you will have to ^C.
add a comment |
This is caused when something is entered into the terminal that looks like an expression that requires more input from the user or is a unclosed quotation that causes the terminal to also expect more input.
For Example if you type: echo "Hello then press enter, you get the carrot.
Then if you type " and press enter it will complete as expected. If you type anything else it behaves as you have seen until you " and then it will spit out what ever it was, or you will have to ^C.
This is caused when something is entered into the terminal that looks like an expression that requires more input from the user or is a unclosed quotation that causes the terminal to also expect more input.
For Example if you type: echo "Hello then press enter, you get the carrot.
Then if you type " and press enter it will complete as expected. If you type anything else it behaves as you have seen until you " and then it will spit out what ever it was, or you will have to ^C.
answered Feb 20 at 3:19
Michael ProkopecMichael Prokopec
1,545218
1,545218
add a comment |
add a comment |
you could have confused everyone and said that the
catcommand is producing weird results ...... lol– jsotola
Feb 20 at 6:50
Also a dupe of In which situations are PS2, PS3, PS4 used as the prompt? which contains better explanations.
– Kusalananda
Feb 20 at 8:16