How to find a file using the command line
how can i find a file in terminal mode in knoppix 4.
i used the command 'find'. but is there any extensions for it. what is 'kpsewhich'. |
Try, as root:
Code:
find / -iname filename |
matrix13, I have edited the title of your thread so that it reflects your problem. Please use thread titles that summarise your problem instead of titles such as "help me". Cheers.
By the way, you can also use the "locate" command e.g. Code:
$locate somefile.txt |
i tried find / -iname.
i am happy to tell you that it worked. but locate doesnt work. is it only for *.txt files. |
'man locate updatedb' - you may need to create/update your database. (Locate is faster at the expense of requiring a database that may be out of date.)
Whenever something "doesn't work", always tell us how it doesn't work - what you expected and exactly what happened, such as the error message or other output from the command. If there was absolutely no output, tell us that too. But "doesn't work" just leaves us playing darts blindfolded. |
All times are GMT -5. The time now is 05:14 PM. |