i run a Ubuntu box on my PC, and the Ubuntu is install as dual-system, i mean the PC have a Ubuntu and a WIN7.
So i use the locate command to find a file, it often list a lot files existing in windows system , for example, it usually list some content under /host/.. , those is under WINDOWS. thus not only time consuming, but also make me not easy find what i want.
My question is :How to set the parameter of
locate command and avoid such a problem? make the
locate cmd just find files under linux directory?