New to linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers New to linux
# 1  
Old 06-03-2011
New to linux

I need to be able to search for a specific name of an image inside a folder.

on windows for example if i wanted to search for dogs within a folder of images that had 300000 images i would just put dogs in the search field, then any file name with dogs in it would come up.

how do i do the same thing in linux? SmilieSmilieSmilieSmilieSmilieSmilieSmilieSmilie
# 2  
Old 06-03-2011
Code:
find folder_name -type f -name "dogs"

# 3  
Old 06-03-2011
Good , however I would use 'locate' , if you update it's database it is much faster than anything else
# 4  
Old 06-03-2011
Please explain how to do either one of these. where is locate? where do i put that code in at?
# 5  
Old 06-03-2011
ooooooooooooooh now I got the problem....you have NEVER used linux/unix...sorry mate and I'm guessing I am apologising on behalf of itkamaraj as well...


OK
well we both assume the best solution always is through a given command - through a shell. Most users of OSs other than Microsoft's feel this way. If not ,then all system administrators feel this way,and that is a given.

If you have a Desktop ,then right click on the screen and choose Terminal. Or go to the Applications menu and find the one called 'terminal'


There ,when you open it give the command given by itkamaraj .

Code:
find . -type f -name "dogs"

try that and we'll take it from there.
# 6  
Old 06-03-2011
this is the message i am getting:
faith@linux-hwga:~/Desktop> f-images"pokemon"
If 'f-imagespokemon' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf f-imagespokemon
no i havent ever used linux before.
# 7  
Old 06-03-2011
ok great....


So faith@linux-hwga:~/Desktop> is your prompt. Anything you write , you type it there..

Now why would you type "f-images"pokemon"" ? Nobody seems to have suggested that...


Instead , try
Code:
find . -type f -name "pokemon"

Waiting for feedback
 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Simple sed command not working; could be a Mac/Linux vs. PC/Linux issue

Hello, I am on a Mac and trying to clean up some monthly files with a very simple SED: sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt (from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file) then output to output.txt Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies

2. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
Login or Register to Ask a Question