How to show all lines in nano linux





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have a VPS with Ubuntu running on it. I have a text file I opened with nano. However there are too many lines there and only the first 20 or so lines get displayed. After those 20 lines is this:



enter image description here



How do I make it display the rest? I can jump to some line using Ctrl+_, but I'd rather have the whole file displayed so I could scroll my way through it.










share|improve this question




















  • 1





    Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

    – guiverc
    Apr 1 at 21:33











  • @guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

    – parsecer
    Apr 1 at 21:35






  • 2





    I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

    – guiverc
    Apr 1 at 21:40











  • @guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

    – parsecer
    Apr 1 at 22:38






  • 2





    Note, if you only want to read the file, use less or more

    – glenn jackman
    Apr 1 at 22:45


















1















I have a VPS with Ubuntu running on it. I have a text file I opened with nano. However there are too many lines there and only the first 20 or so lines get displayed. After those 20 lines is this:



enter image description here



How do I make it display the rest? I can jump to some line using Ctrl+_, but I'd rather have the whole file displayed so I could scroll my way through it.










share|improve this question




















  • 1





    Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

    – guiverc
    Apr 1 at 21:33











  • @guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

    – parsecer
    Apr 1 at 21:35






  • 2





    I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

    – guiverc
    Apr 1 at 21:40











  • @guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

    – parsecer
    Apr 1 at 22:38






  • 2





    Note, if you only want to read the file, use less or more

    – glenn jackman
    Apr 1 at 22:45














1












1








1








I have a VPS with Ubuntu running on it. I have a text file I opened with nano. However there are too many lines there and only the first 20 or so lines get displayed. After those 20 lines is this:



enter image description here



How do I make it display the rest? I can jump to some line using Ctrl+_, but I'd rather have the whole file displayed so I could scroll my way through it.










share|improve this question
















I have a VPS with Ubuntu running on it. I have a text file I opened with nano. However there are too many lines there and only the first 20 or so lines get displayed. After those 20 lines is this:



enter image description here



How do I make it display the rest? I can jump to some line using Ctrl+_, but I'd rather have the whole file displayed so I could scroll my way through it.







command-line nano






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 9 at 6:37









pomsky

33.8k11105138




33.8k11105138










asked Apr 1 at 21:30









parsecerparsecer

1084




1084








  • 1





    Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

    – guiverc
    Apr 1 at 21:33











  • @guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

    – parsecer
    Apr 1 at 21:35






  • 2





    I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

    – guiverc
    Apr 1 at 21:40











  • @guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

    – parsecer
    Apr 1 at 22:38






  • 2





    Note, if you only want to read the file, use less or more

    – glenn jackman
    Apr 1 at 22:45














  • 1





    Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

    – guiverc
    Apr 1 at 21:33











  • @guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

    – parsecer
    Apr 1 at 21:35






  • 2





    I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

    – guiverc
    Apr 1 at 21:40











  • @guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

    – parsecer
    Apr 1 at 22:38






  • 2





    Note, if you only want to read the file, use less or more

    – glenn jackman
    Apr 1 at 22:45








1




1





Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

– guiverc
Apr 1 at 21:33





Use the <up> and <down> arrow keys - it's magic & scrolls (nano is not my favorite editor, but you chose it)

– guiverc
Apr 1 at 21:33













@guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

– parsecer
Apr 1 at 21:35





@guiverc Do you mean Ctrl+Up and Ctrl+Down or simply Up and Down? Which editor would you recommend?

– parsecer
Apr 1 at 21:35




2




2





I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

– guiverc
Apr 1 at 21:40





I don't use nano , I just opened a term & nano jounr.. (a big text file) and arrow keys scrolled the text file up & down for me (somewhat jerky, it scrolled a few lines each time (not the one line I like with view or vim - but I've been using vi since the end 80s so anything else wouldn't feel like home)

– guiverc
Apr 1 at 21:40













@guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

– parsecer
Apr 1 at 22:38





@guiverc Thank you for the answer. Currently all command line editors feel foreign to me and I'm constantly afraid to screw things up. But I'll check out vim.

– parsecer
Apr 1 at 22:38




2




2





Note, if you only want to read the file, use less or more

– glenn jackman
Apr 1 at 22:45





Note, if you only want to read the file, use less or more

– glenn jackman
Apr 1 at 22:45










1 Answer
1






active

oldest

votes


















1














If your Terminal window is small, large text will certainly get truncated. You can either use (upwards arrow) / (downwards arrow) keys or your mouse scroll wheel to scroll up or down to view the truncated part.



Alt+X toggles the display of the two last lines that display the functions of the hotkeys. Turning this off will help preserving some screen real estate for text.






share|improve this answer


























    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%2f1130461%2fhow-to-show-all-lines-in-nano-linux%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    If your Terminal window is small, large text will certainly get truncated. You can either use (upwards arrow) / (downwards arrow) keys or your mouse scroll wheel to scroll up or down to view the truncated part.



    Alt+X toggles the display of the two last lines that display the functions of the hotkeys. Turning this off will help preserving some screen real estate for text.






    share|improve this answer






























      1














      If your Terminal window is small, large text will certainly get truncated. You can either use (upwards arrow) / (downwards arrow) keys or your mouse scroll wheel to scroll up or down to view the truncated part.



      Alt+X toggles the display of the two last lines that display the functions of the hotkeys. Turning this off will help preserving some screen real estate for text.






      share|improve this answer




























        1












        1








        1







        If your Terminal window is small, large text will certainly get truncated. You can either use (upwards arrow) / (downwards arrow) keys or your mouse scroll wheel to scroll up or down to view the truncated part.



        Alt+X toggles the display of the two last lines that display the functions of the hotkeys. Turning this off will help preserving some screen real estate for text.






        share|improve this answer















        If your Terminal window is small, large text will certainly get truncated. You can either use (upwards arrow) / (downwards arrow) keys or your mouse scroll wheel to scroll up or down to view the truncated part.



        Alt+X toggles the display of the two last lines that display the functions of the hotkeys. Turning this off will help preserving some screen real estate for text.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 9 at 6:40









        vanadium

        7,97111533




        7,97111533










        answered Apr 9 at 6:34









        pomskypomsky

        33.8k11105138




        33.8k11105138






























            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%2f1130461%2fhow-to-show-all-lines-in-nano-linux%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b