The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    6
    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