SSH Where is hosts folder at ?

Dreamy

Well-Known Member
Sep 16, 2008
52
0
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.
 

Ghulam Yaseen

Well-Known Member
Mar 14, 2008
49
0
56
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:

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.