Results 1 to 6 of 6
how to searching file named contain "xmms"?
i just write xmms in the "Find Files"
but no results...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-19-2005 #1Just Joined!
- Join Date
- Jul 2005
- Location
- Malang, Indonesia
- Posts
- 53
how to searching file
how to searching file named contain "xmms"?
i just write xmms in the "Find Files"
but no results
- 07-19-2005 #2
u could try:
then:Code:updatedb
(might be slocate instead of locate)Code:locate xmms | less
piped to less since there will possibly be a LOT of results
or try:
will find any file containing xmms in the dilename or extensionCode:find / -iname '*xmms*'
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 07-19-2005 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
If youare looking to find the word xmms in a file try this -
Or to search a directory and it's subdirectories for the phrase xmms try -Code:grep -i xmms filename
The i switch makes the search case insensitive, the r switch makes the search recursive, that is processing throughot subdirectories. If you are just looking to find files whose filenames contain the phrase xmms try this -Code:grep -ri xmms direcotryname
This will find everything that has xmms as part of the filename. Good luck -Code:sudo updatedb ##insert root password when prompted - this part may take a few minutes ## locate xmms
- 07-19-2005 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Oops...sorry sdousley...post collision. Ireally need to spend less time typing these replies
- 07-20-2005 #5Just Joined!
- Join Date
- Jul 2005
- Location
- Malang, Indonesia
- Posts
- 53
thnx
nice.....
- 07-20-2005 #6hehe no problems, we were probably writing them both at the same time anyhow hehe
Originally Posted by bigtomrodney "I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327


Reply With Quote
