Web Hosting Forum Login
Not a member yet? Sign up

How do I select all text from a file with nano editor in Linux?

  • FORUMS
  • WEB DESIGN
  • WEB HOSTING OFFERS
  • ADVERTISING
  • WEB HOSTING
  • REQUEST A HOST
  • BEST WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2016
    Posts
    86
    Thanks
    38
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 3/0
    Given: 89/0

    How do I select all text from a file with nano editor in Linux?

    I open a file in Centos nano editor from the command line and I want to copy all the content of that file so I can paste it in an another application outside the shell or delete. How can I do that?

  2. #2
    Join Date
    Jul 2016
    Posts
    40
    Thanks
    13
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 3/0
    Given: 47/0
    Cursor at the beginning of a file
    Ctrl + 6 to set a mark
    Alt + Shift + T to cut to the end of the file
    Ctrl + O to save in Nano.

    You can use your mouse to select text if your file content is not too big.

  3. #3
    Join Date
    Apr 2016
    Posts
    125
    Thanks
    20
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 3/0
    Given: 176/0
    In Nano
    Alt T will delete all content in a file
    Ctrl K will delete the current line at your cursor.

  4. #4
    Join Date
    Jan 2018
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thumbs Up/Down
    Received: 0/0
    Given: 0/0
    I don't know yet about this nano editor in linux. Any one here may tell me about this thing. All I know is just typing those words I want to type.

  5. #5
    Join Date
    Jun 2016
    Posts
    727
    Thanks
    127
    Thanked 31 Times in 31 Posts
    Thumbs Up/Down
    Received: 108/1
    Given: 1,000/2
    Quote Originally Posted by mar06 View Post
    I don't know yet about this nano editor in linux. Any one here may tell me about this thing. All I know is just typing those words I want to type.
    It looks like notepad in Windows which allows you type words and save them into a file.
    If your Linux has not got this editor then running this command to install it ans starting using this great editor.

    Code:
    yum install nano
    Hope that helped.

Newer Threads

  1. Dorel
    HostXNow
    Replies: 12 | Views: 1876
    Last post by HostXNow, 12-09-2016, 02:04 PM
  2. FerdieQO
    FerdieQO
    Replies: 3 | Views: 847
    Last post by FerdieQO, 10-04-2016, 03:40 AM
  3. Chris Worner
    Denis // trabia
    Replies: 13 | Views: 3811
    Last post by Denis // trabia, 10-30-2017, 05:14 PM
  4. Chris Worner
    LJSHost
    Replies: 4 | Views: 914
    Last post by LJSHost, 10-04-2016, 11:26 AM
  5. TheCompWiz
    UWH-David
    Replies: 4 | Views: 667
    Last post by UWH-David, 10-05-2016, 01:21 AM

Older Threads

  1. fwh
    fwh
    Replies: 0 | Views: 505
    Last post by fwh, 10-01-2016, 05:24 AM
  2. fwh
    fwh
    Replies: 0 | Views: 536
    Last post by fwh, 10-01-2016, 04:59 AM
  3. jordyjl
    jordyjl
    Replies: 1 | Views: 1278
    Last post by jordyjl, 12-21-2016, 03:56 PM
  4. Hugo E.
    UWH-David
    Replies: 4 | Views: 805
    Last post by UWH-David, 10-04-2016, 02:31 AM

Latest Threads

  1. austenite
    austenite
    Replies: 0 | Views: 3
    Last post by austenite, Today, 10:56 PM
  2. robert4u
    robert4u
    Replies: 0 | Views: 24
    Last post by robert4u, Yesterday, 06:18 PM
  3. OliveJ
    Floxera-Jose
    Replies: 2 | Views: 57
    Last post by Floxera-Jose, Today, 09:25 PM
  4. lisadolor
    24x7serverman
    Replies: 2 | Views: 60
    Last post by 24x7serverman, Yesterday, 08:54 AM
  5. Jigz Alvarina Lim
    Jigz Alvarina Lim
    Replies: 0 | Views: 28
    Last post by Jigz Alvarina Lim, Yesterday, 02:08 AM

Similar Threads

  1. FerdieQO
    alexanderzx360
    Replies: 2 | Views: 2072
    Last post by alexanderzx360, 08-06-2017, 02:33 PM
  2. Maxoq
    ikoula
    Replies: 4 | Views: 1093
    Last post by ikoula, 09-13-2016, 10:46 AM
  3. wpspeedster
    fwh
    Replies: 12 | Views: 1666
    Last post by fwh, 09-08-2016, 02:25 AM
  4. BillEssley
    statvoo
    Replies: 3 | Views: 896
    Last post by statvoo, 08-27-2015, 02:03 PM
  5. Jon Acuff
    MikePNV
    Replies: 4 | Views: 1397
    Last post by MikePNV, 04-19-2015, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Web Hosting Forum

ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Community

The world's smartest hosting providers come here to discuss & share what's trending in the web hosting world!
Copyright ©2017, ForumWeb.Hosting. All rights reserved. Web Hosting Forum for webmasters, web hosting providers, designers and web developers.

Welcome to Forum Web Hosting

The World's Number 1 Web Hosting Community, Reviews & Services

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!