Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2005
    Posts
    56

    editing etc/hosts

    How would i go by dong this. Sorry im new .

  2. #2
    Join Date
    Mar 2004
    Posts
    295
    Are you wanting specific things which can be edited / added to the file?
    If you just want to know how to open the file for editing, use nano -w /etc/hosts
    Press F2 or CTRL + X to save / close

  3. #3
    or if you have pico instead use pico. Or Vi is a good way to go. If you are really old school you would tend to use EMACS.

  4. #4
    Join Date
    Jul 2003
    Location
    Connecticut
    Posts
    3,038
    You might have better luck posting this in the Technical & Security forum.

  5. #5
    Join Date
    Jan 2004
    Location
    North Yorkshire, UK
    Posts
    4,163
    Quote Originally Posted by rasputinj
    or if you have pico instead use pico. Or Vi is a good way to go. If you are really old school you would tend to use EMACS.

    Pico and Nano are virtually the same thing just with different names ...
    █ Dan Kitchen | Technical Director | Razorblue
    █ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
    █ UK Intensive Managed Hosting, Clusters and Colocation.
    █ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,262
    the big difference between pico and nano, is nano has a find and replace function
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  7. #7
    Join Date
    May 2004
    Location
    Kansas City, Missouri
    Posts
    24
    Obviously, all of the above solutions are assuming you have SSH and Root access.
    HostNetWay Internet Services
    Reseller, Shared and Dedicated Hosting
    HostNetWay.com
    cPanel/DirectAdmin Available!

  8. #8
    Join Date
    Nov 2005
    Location
    Denver, CO
    Posts
    728
    Quote Originally Posted by rasputinj
    use EMACS.
    not only did you just date yourself, I feel old now.
    /cry

  9. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

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