How and where to find i.e. HOSTS !?
Hello Ubuntu Users / Experts
As a newbie I haven't realized how to find some specific files under *x/Ubuntu ;-( How can I search i.e HOSTS like I did till now: dir hosts /s I assumed to find it in folder network but seems wrong !? Any hints and pointers are very appreciated ;-) TIA & cheers, svobi -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
How and where to find i.e. HOSTS !?
G'day there Svobi,
> How can I search i.e HOSTS like I did till now: > dir hosts /s > > I assumed to find it in folder network but seems wrong !? > You'll find your hosts file under /etc where Linux keeps most (if not all) of its system settings. See ya Ken Qld Australia -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
How and where to find i.e. HOSTS !?
Quoting SYNass IT Ubuntu / Linux <i-ubux@synass.net>:
> How can I search i.e HOSTS like I did till now: > dir hosts /s find / -name hosts Gerald ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
How and where to find i.e. HOSTS !?
Gerald Dachs wrote:
> Quoting SYNass IT Ubuntu / Linux <i-ubux@synass.net>: > >> How can I search i.e HOSTS like I did till now: >> dir hosts /s > > find / -name hosts if updatedb is running regularly (I don't know if it's standard in Ubuntu, these days), # locate hosts is much faster. -- derek -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
How and where to find i.e. HOSTS !?
> Gerald Dachs wrote:
> > > Quoting SYNass IT Ubuntu / Linux <i-ubux@synass.net>: > > > >> How can I search i.e HOSTS like I did till now: > >> dir hosts /s > > > > find / -name hosts > > if updatedb is running regularly (I don't know if it's standard in Ubuntu, > these days), > > # locate hosts > > is much faster. > -- > derek user@host: Whereis hosts Would also be a bit quicker. CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
How and where to find i.e. HOSTS !?
On Dec 6, 2007 2:44 PM, Miano, Steven M. <Steven.Miano@mybrighthouse.com> wrote:
> > Gerald Dachs wrote: > > > > > Quoting SYNass IT Ubuntu / Linux <i-ubux@synass.net>: > > > > > >> How can I search i.e HOSTS like I did till now: > > >> dir hosts /s > > > > > > find / -name hosts > > > > if updatedb is running regularly (I don't know if it's standard in Ubuntu, > > these days), > > > > # locate hosts > > > > is much faster. > > -- > > derek > > > > user@host: Whereis hosts > > Would also be a bit quicker. And for newbies, I strongly recommend man find man locate man whereis so you know the difference. Since man pages can be pretty hard to figure out before you get used to them (but try), I'll also explain find -- does a million things and is great to know well locate -- just finds files, quickly, as long as updatedb is running regularly whereis -- finds only files in your PATH, so it's good for searching for executables. --Matt -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 06:22 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.