Ranger cd into a folder?

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












15















I'm using Ranger to navigate around my file system.



Is there a shortcut where I cd into that folder?










share|improve this question




























    15















    I'm using Ranger to navigate around my file system.



    Is there a shortcut where I cd into that folder?










    share|improve this question


























      15












      15








      15


      1






      I'm using Ranger to navigate around my file system.



      Is there a shortcut where I cd into that folder?










      share|improve this question
















      I'm using Ranger to navigate around my file system.



      Is there a shortcut where I cd into that folder?







      ranger






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 30 '18 at 0:13







      Philip Kirkbride

















      asked Feb 2 '17 at 17:24









      Philip KirkbridePhilip Kirkbride

      2,4212984




      2,4212984




















          3 Answers
          3






          active

          oldest

          votes


















          16














          I found the answer to this in the man pages:




          S Open a shell in the current directory




          Yes, probably should have read through that before asking here.






          share|improve this answer




















          • 2





            and type exit in terminal to go back to ranger

            – nilon
            Jul 1 '17 at 13:54












          • Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

            – Hi-Angel
            Nov 29 '17 at 6:29






          • 1





            @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

            – Philip Kirkbride
            Nov 29 '17 at 12:24


















          5














          You could also use :cd /path/to/folder if you are already in Ranger.






          share|improve this answer






























            4














            You can also do it the other way and use ranger-cd to automatically change the directory in bash after closing ranger with this script.



            I use it with



            alias r=ranger-cd





            share|improve this answer
























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2funix.stackexchange.com%2fquestions%2f342064%2franger-cd-into-a-folder%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









              16














              I found the answer to this in the man pages:




              S Open a shell in the current directory




              Yes, probably should have read through that before asking here.






              share|improve this answer




















              • 2





                and type exit in terminal to go back to ranger

                – nilon
                Jul 1 '17 at 13:54












              • Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

                – Hi-Angel
                Nov 29 '17 at 6:29






              • 1





                @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

                – Philip Kirkbride
                Nov 29 '17 at 12:24















              16














              I found the answer to this in the man pages:




              S Open a shell in the current directory




              Yes, probably should have read through that before asking here.






              share|improve this answer




















              • 2





                and type exit in terminal to go back to ranger

                – nilon
                Jul 1 '17 at 13:54












              • Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

                – Hi-Angel
                Nov 29 '17 at 6:29






              • 1





                @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

                – Philip Kirkbride
                Nov 29 '17 at 12:24













              16












              16








              16







              I found the answer to this in the man pages:




              S Open a shell in the current directory




              Yes, probably should have read through that before asking here.






              share|improve this answer















              I found the answer to this in the man pages:




              S Open a shell in the current directory




              Yes, probably should have read through that before asking here.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Dec 30 '18 at 0:10









              Matthias Braun

              1,94221322




              1,94221322










              answered Feb 2 '17 at 23:34









              Philip KirkbridePhilip Kirkbride

              2,4212984




              2,4212984







              • 2





                and type exit in terminal to go back to ranger

                – nilon
                Jul 1 '17 at 13:54












              • Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

                – Hi-Angel
                Nov 29 '17 at 6:29






              • 1





                @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

                – Philip Kirkbride
                Nov 29 '17 at 12:24












              • 2





                and type exit in terminal to go back to ranger

                – nilon
                Jul 1 '17 at 13:54












              • Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

                – Hi-Angel
                Nov 29 '17 at 6:29






              • 1





                @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

                – Philip Kirkbride
                Nov 29 '17 at 12:24







              2




              2





              and type exit in terminal to go back to ranger

              – nilon
              Jul 1 '17 at 13:54






              and type exit in terminal to go back to ranger

              – nilon
              Jul 1 '17 at 13:54














              Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

              – Hi-Angel
              Nov 29 '17 at 6:29





              Doesn't work for me — typing s cd ~ still leaves me in /tmp directory.

              – Hi-Angel
              Nov 29 '17 at 6:29




              1




              1





              @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

              – Philip Kirkbride
              Nov 29 '17 at 12:24





              @Hi-Angel when you are browsing directories hit S it should leave ranger and go to a new terminal. But if you run exit you go back to ranger. You need to use a capital S small s won't work.

              – Philip Kirkbride
              Nov 29 '17 at 12:24













              5














              You could also use :cd /path/to/folder if you are already in Ranger.






              share|improve this answer



























                5














                You could also use :cd /path/to/folder if you are already in Ranger.






                share|improve this answer

























                  5












                  5








                  5







                  You could also use :cd /path/to/folder if you are already in Ranger.






                  share|improve this answer













                  You could also use :cd /path/to/folder if you are already in Ranger.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 17 '17 at 17:26









                  345422345422

                  11528




                  11528





















                      4














                      You can also do it the other way and use ranger-cd to automatically change the directory in bash after closing ranger with this script.



                      I use it with



                      alias r=ranger-cd





                      share|improve this answer





























                        4














                        You can also do it the other way and use ranger-cd to automatically change the directory in bash after closing ranger with this script.



                        I use it with



                        alias r=ranger-cd





                        share|improve this answer



























                          4












                          4








                          4







                          You can also do it the other way and use ranger-cd to automatically change the directory in bash after closing ranger with this script.



                          I use it with



                          alias r=ranger-cd





                          share|improve this answer















                          You can also do it the other way and use ranger-cd to automatically change the directory in bash after closing ranger with this script.



                          I use it with



                          alias r=ranger-cd






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Mar 15 '17 at 13:19

























                          answered Mar 15 '17 at 11:54









                          laktaklaktak

                          726310




                          726310



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • 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%2funix.stackexchange.com%2fquestions%2f342064%2franger-cd-into-a-folder%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

                              How to check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?