Find the answer to your Linux question:
Results 1 to 4 of 4
I'm currently trying to resolve a problem with my system which requires me to edit a text file from a command line with no x-server running. I know I can ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Location
    So.CA - Woodland Hills
    Posts
    34

    editing text

    I'm currently trying to resolve a problem with my system which requires me to edit a text file from a command line with no x-server running. I know I can edit the file with Vim. I there an easier way? I'm trying to avoid reading the Vim documentation if possible. thanks.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you can use nano or pico. nano is pre-installed in most distros.
    Code:
    nano <file_name>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Nano works like a charm...

  4. #4
    Just Joined!
    Join Date
    May 2007
    Location
    So.CA - Woodland Hills
    Posts
    34
    Nano did the job nicely and no need to read lengthy documentation. Thanks.

Posting Permissions

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