Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSH Where is hosts folder at ?

Discussion in 'General Discussion' started by Dreamy, Oct 6, 2008.

  1. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    56
    I want to SSH into my servers one domain file directory.

    Where is it located at?

    I knew it was somewhere like
    /etc/usr/hosts/USERNAME
    or:
    /etc/hosts
    /usr/hosts
    /usr/etc/hosts

    none of them work and I cant find right directory for hosts folder. :confused:

    Centos is op system.
     
  2. Ghulam Yaseen

    Ghulam Yaseen Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Karachi,Pakistan
    Yaseen

    Hello :),

    You can search any file by using this command
    ===========
    find -n name_of_file/ Direcory_name
    OR
    whereis name_of_file/ Direcory_name
    ===========
    :cool:

     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice