Cat activates mystery prompt [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












-2
















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?










share|improve this 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 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
















-2
















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?










share|improve this 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 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














-2












-2








-2









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?










share|improve this question















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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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


















  • 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

















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











1 Answer
1






active

oldest

votes


















1














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.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    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.






    share|improve this answer



























      1














      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.






      share|improve this answer

























        1












        1








        1







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 20 at 3:19









        Michael ProkopecMichael Prokopec

        1,545218




        1,545218












            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)