Reverse-i-search doesn't continueHaving to boot from CD and use previous Linux kernelWireless stops working...

Sword in the Stone story where the sword was held in place by electromagnets

What exactly is the purpose of connection links straped between the rocket and the launch pad

Force user to remove USB token

Deleting missing values from a dataset

When two POV characters meet

Why don't MCU characters ever seem to have language issues?

What is the likely impact on flights of grounding an entire aircraft series?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Counter-example to the existence of left Bousfield localization of combinatorial model category

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Can "semicircle" be used to refer to a part-circle that is not a exact half-circle?

Can the druid cantrip Thorn Whip really defeat a water weird this easily?

The three point beverage

Do Bugbears' arms literally get longer when it's their turn?

It's a yearly task, alright

Can infringement of a trademark be pursued for using a company's name in a sentence?

Am I not good enough for you?

What happens with multiple copies of Humility and Glorious Anthem on the battlefield?

validation vs test vs training accuracy, which one to compare for claiming overfit?

When were linguistics departments first established

If Invisibility ends because the original caster casts a non-concentration spell, does Invisibility also end on other targets of the original casting?

Is all copper pipe pretty much the same?

How could a female member of a species produce eggs unto death?

My adviser wants to be the first author



Reverse-i-search doesn't continue


Having to boot from CD and use previous Linux kernelWireless stops working on an MSI U180 netbookReverse SSH Tunnel IssueUbuntu 13.04 boots to busybox exit doesn't workUbuntu 12.04 does not shutdownUbuntu doesn't recognize my Printer anymoreCant SSH to remote server trought VPNKeyboard Shortcut Conflict While Playing MinecraftHow to close GNOME Terminal search window shortcut key?How to search by pattern in thunar













5















I wanted to use the reverse-i-search as usual by pressing Ctrl+R to search my last ssh command. When I tried, I was only able to write "ss" but not continue with "h". Additionally when I hit Ctrl+H again, nothing happens. Does anybody have an explanation?



I am using Ubuntu 12.04 and in the pasttime this worked fine (on my other computer with the same os)










share|improve this question





























    5















    I wanted to use the reverse-i-search as usual by pressing Ctrl+R to search my last ssh command. When I tried, I was only able to write "ss" but not continue with "h". Additionally when I hit Ctrl+H again, nothing happens. Does anybody have an explanation?



    I am using Ubuntu 12.04 and in the pasttime this worked fine (on my other computer with the same os)










    share|improve this question



























      5












      5








      5


      1






      I wanted to use the reverse-i-search as usual by pressing Ctrl+R to search my last ssh command. When I tried, I was only able to write "ss" but not continue with "h". Additionally when I hit Ctrl+H again, nothing happens. Does anybody have an explanation?



      I am using Ubuntu 12.04 and in the pasttime this worked fine (on my other computer with the same os)










      share|improve this question
















      I wanted to use the reverse-i-search as usual by pressing Ctrl+R to search my last ssh command. When I tried, I was only able to write "ss" but not continue with "h". Additionally when I hit Ctrl+H again, nothing happens. Does anybody have an explanation?



      I am using Ubuntu 12.04 and in the pasttime this worked fine (on my other computer with the same os)







      12.04 shortcut-keys ssh search






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 28 '13 at 9:04







      aldorado

















      asked Oct 27 '13 at 18:49









      aldoradoaldorado

      2851719




      2851719






















          3 Answers
          3






          active

          oldest

          votes


















          4














          Try like this:




          [...] first press Ctrl+R then start typing the command or any part of the command that you are looking for. You'll see an auto-complete of a past command at your prompt. If you keep typing, more specific options will appear. You can also press Ctrl+R again as many times as you want to, this goes back in your history to the previous matching command each time



          Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys.




          Source: Navigating Bash History with Ctrl+R.






          share|improve this answer
























          • I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

            – aldorado
            Oct 27 '13 at 19:01











          • @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

            – Radu Rădeanu
            Oct 27 '13 at 19:07



















          4














          From: https://help.ubuntu.com/community/UsingTheTerminal




          An extremely handy tool :: Incremental history searching




          in terminal enter:



          gedit  ~/.inputrc


          then copy/paste and save:



          "e[A": history-search-backward
          "e[B": history-search-forward
          "e[C": forward-char
          "e[D": backward-char


          FROM now on and many agree this is the most useful terminal tool saves you a lot of writing/memorizing... all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly. Say I want:



          for f in *.mid ; do timidity "$f"; done


          all I need to do is enter



          fo


          and hit upward arrow. Command will soon appear!






          share|improve this answer


























          • Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

            – aldorado
            Jan 17 '14 at 11:28






          • 1





            Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

            – Atharva Johri
            Jan 17 '14 at 12:15






          • 1





            Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

            – Atharva Johri
            Jan 17 '14 at 12:40



















          0














          Run this command in terminal to use ctrs+s to toggle forward in searching commands in terminal for current session/add it to .bashrc for disabling it permanently



          stty -ixon



          ctrl+r -> reverse i search



          ctrl+s -> i search






          share|improve this answer








          New contributor




          Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f366865%2freverse-i-search-doesnt-continue%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            Try like this:




            [...] first press Ctrl+R then start typing the command or any part of the command that you are looking for. You'll see an auto-complete of a past command at your prompt. If you keep typing, more specific options will appear. You can also press Ctrl+R again as many times as you want to, this goes back in your history to the previous matching command each time



            Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys.




            Source: Navigating Bash History with Ctrl+R.






            share|improve this answer
























            • I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

              – aldorado
              Oct 27 '13 at 19:01











            • @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

              – Radu Rădeanu
              Oct 27 '13 at 19:07
















            4














            Try like this:




            [...] first press Ctrl+R then start typing the command or any part of the command that you are looking for. You'll see an auto-complete of a past command at your prompt. If you keep typing, more specific options will appear. You can also press Ctrl+R again as many times as you want to, this goes back in your history to the previous matching command each time



            Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys.




            Source: Navigating Bash History with Ctrl+R.






            share|improve this answer
























            • I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

              – aldorado
              Oct 27 '13 at 19:01











            • @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

              – Radu Rădeanu
              Oct 27 '13 at 19:07














            4












            4








            4







            Try like this:




            [...] first press Ctrl+R then start typing the command or any part of the command that you are looking for. You'll see an auto-complete of a past command at your prompt. If you keep typing, more specific options will appear. You can also press Ctrl+R again as many times as you want to, this goes back in your history to the previous matching command each time



            Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys.




            Source: Navigating Bash History with Ctrl+R.






            share|improve this answer













            Try like this:




            [...] first press Ctrl+R then start typing the command or any part of the command that you are looking for. You'll see an auto-complete of a past command at your prompt. If you keep typing, more specific options will appear. You can also press Ctrl+R again as many times as you want to, this goes back in your history to the previous matching command each time



            Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys.




            Source: Navigating Bash History with Ctrl+R.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 27 '13 at 18:55









            Radu RădeanuRadu Rădeanu

            119k35251327




            119k35251327













            • I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

              – aldorado
              Oct 27 '13 at 19:01











            • @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

              – Radu Rădeanu
              Oct 27 '13 at 19:07



















            • I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

              – aldorado
              Oct 27 '13 at 19:01











            • @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

              – Radu Rădeanu
              Oct 27 '13 at 19:07

















            I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

            – aldorado
            Oct 27 '13 at 19:01





            I tried again with other commands. Some work. So my explanation would be, that since I used the ssh command the last time, I deleted the terminal history. Question: Does the input prompt of ctrl r stop, if the character combination never occured before? meaning I could not write "h" because "ss" occured, but not "ssh"?

            – aldorado
            Oct 27 '13 at 19:01













            @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

            – Radu Rădeanu
            Oct 27 '13 at 19:07





            @aldorado You can try "ss" if this didn't ocured in the time, you will get the right command. If sh ocurred in this time, then press again Ctrl+R and type again "ss" and so on.

            – Radu Rădeanu
            Oct 27 '13 at 19:07













            4














            From: https://help.ubuntu.com/community/UsingTheTerminal




            An extremely handy tool :: Incremental history searching




            in terminal enter:



            gedit  ~/.inputrc


            then copy/paste and save:



            "e[A": history-search-backward
            "e[B": history-search-forward
            "e[C": forward-char
            "e[D": backward-char


            FROM now on and many agree this is the most useful terminal tool saves you a lot of writing/memorizing... all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly. Say I want:



            for f in *.mid ; do timidity "$f"; done


            all I need to do is enter



            fo


            and hit upward arrow. Command will soon appear!






            share|improve this answer


























            • Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

              – aldorado
              Jan 17 '14 at 11:28






            • 1





              Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

              – Atharva Johri
              Jan 17 '14 at 12:15






            • 1





              Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

              – Atharva Johri
              Jan 17 '14 at 12:40
















            4














            From: https://help.ubuntu.com/community/UsingTheTerminal




            An extremely handy tool :: Incremental history searching




            in terminal enter:



            gedit  ~/.inputrc


            then copy/paste and save:



            "e[A": history-search-backward
            "e[B": history-search-forward
            "e[C": forward-char
            "e[D": backward-char


            FROM now on and many agree this is the most useful terminal tool saves you a lot of writing/memorizing... all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly. Say I want:



            for f in *.mid ; do timidity "$f"; done


            all I need to do is enter



            fo


            and hit upward arrow. Command will soon appear!






            share|improve this answer


























            • Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

              – aldorado
              Jan 17 '14 at 11:28






            • 1





              Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

              – Atharva Johri
              Jan 17 '14 at 12:15






            • 1





              Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

              – Atharva Johri
              Jan 17 '14 at 12:40














            4












            4








            4







            From: https://help.ubuntu.com/community/UsingTheTerminal




            An extremely handy tool :: Incremental history searching




            in terminal enter:



            gedit  ~/.inputrc


            then copy/paste and save:



            "e[A": history-search-backward
            "e[B": history-search-forward
            "e[C": forward-char
            "e[D": backward-char


            FROM now on and many agree this is the most useful terminal tool saves you a lot of writing/memorizing... all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly. Say I want:



            for f in *.mid ; do timidity "$f"; done


            all I need to do is enter



            fo


            and hit upward arrow. Command will soon appear!






            share|improve this answer















            From: https://help.ubuntu.com/community/UsingTheTerminal




            An extremely handy tool :: Incremental history searching




            in terminal enter:



            gedit  ~/.inputrc


            then copy/paste and save:



            "e[A": history-search-backward
            "e[B": history-search-forward
            "e[C": forward-char
            "e[D": backward-char


            FROM now on and many agree this is the most useful terminal tool saves you a lot of writing/memorizing... all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly. Say I want:



            for f in *.mid ; do timidity "$f"; done


            all I need to do is enter



            fo


            and hit upward arrow. Command will soon appear!







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 16 '14 at 17:23









            Eric Carvalho

            42.1k17115147




            42.1k17115147










            answered Jan 16 '14 at 16:59









            Atharva JohriAtharva Johri

            1412




            1412













            • Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

              – aldorado
              Jan 17 '14 at 11:28






            • 1





              Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

              – Atharva Johri
              Jan 17 '14 at 12:15






            • 1





              Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

              – Atharva Johri
              Jan 17 '14 at 12:40



















            • Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

              – aldorado
              Jan 17 '14 at 11:28






            • 1





              Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

              – Atharva Johri
              Jan 17 '14 at 12:15






            • 1





              Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

              – Atharva Johri
              Jan 17 '14 at 12:40

















            Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

            – aldorado
            Jan 17 '14 at 11:28





            Nice link indeed! Can you explain what the single components of the commands "e[X" mean?

            – aldorado
            Jan 17 '14 at 11:28




            1




            1





            Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

            – Atharva Johri
            Jan 17 '14 at 12:15





            Hi.. they are keyboard key references. I don't know WHY they named them like e[X, but here's an article explaining HOW: blog.theliuy.com/inputrc-keyboard-mapping-config-file

            – Atharva Johri
            Jan 17 '14 at 12:15




            1




            1





            Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

            – Atharva Johri
            Jan 17 '14 at 12:40





            Found it! faqs.org/docs/bashman/bashref_90.html#SEC97

            – Atharva Johri
            Jan 17 '14 at 12:40











            0














            Run this command in terminal to use ctrs+s to toggle forward in searching commands in terminal for current session/add it to .bashrc for disabling it permanently



            stty -ixon



            ctrl+r -> reverse i search



            ctrl+s -> i search






            share|improve this answer








            New contributor




            Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              Run this command in terminal to use ctrs+s to toggle forward in searching commands in terminal for current session/add it to .bashrc for disabling it permanently



              stty -ixon



              ctrl+r -> reverse i search



              ctrl+s -> i search






              share|improve this answer








              New contributor




              Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                Run this command in terminal to use ctrs+s to toggle forward in searching commands in terminal for current session/add it to .bashrc for disabling it permanently



                stty -ixon



                ctrl+r -> reverse i search



                ctrl+s -> i search






                share|improve this answer








                New contributor




                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Run this command in terminal to use ctrs+s to toggle forward in searching commands in terminal for current session/add it to .bashrc for disabling it permanently



                stty -ixon



                ctrl+r -> reverse i search



                ctrl+s -> i search







                share|improve this answer








                New contributor




                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 17 mins ago









                Aldrin BennetAldrin Bennet

                1




                1




                New contributor




                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Aldrin Bennet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f366865%2freverse-i-search-doesnt-continue%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...