Contact Us
  
 
 
    SearchSearch   RegisterRegister   Log inLog in 

Search or find file in linux

Search or find file in linux

 
Post new topic   Reply to topic     Forum Index -> Linux os
View previous topic :: View next topic  
Author Message
juniormember



Joined: 28 Jun 2008
Posts: 154

PostPosted: Wed Oct 29, 2008 5:38 am    Post subject: Search or find file in linux Reply with quote

I want to find my file in linux, how to find or search a file in terminal or gui mode in linux. please give me command to find all file related to same name with path.
Back to top
View user's profile Send private message
seniormember
Site Admin


Joined: 20 Jul 2008
Posts: 77

PostPosted: Thu Nov 06, 2008 7:24 am    Post subject: Reply with quote

Finding file in linux, need to use find command

Find command will search file name which you provide to search on particular directory or sub directory. Find command also take wild card.

if have a file name searchThisFile.txt and it is in /home/doc directory.

Search command will be for this

Quote:
find / -name searchThisFile.txt



It start searching file from root directory of / and search in sub directories

In GUI searching is more easy like windows,
In fedora, CentOS 5

Places > search for file option
Back to top
View user's profile Send private message
juniormember



Joined: 28 Jun 2008
Posts: 154

PostPosted: Thu Nov 06, 2008 2:24 pm    Post subject: Reply with quote

Thanks lot for reply

I also want to use wild card in searching file in linux. Please tell me also about this searching with wild card file in linux
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Linux os All times are GMT
Page 1 of 1

 
Jump to:  
  Quick Post a Reply Topic
     
  Name (required)  
     
  Email Address (will not be published) (required)  
     
  Subject of topic (required)  
     
   
     
   
     
  Advertisement  
     
 
     


  More Links  
 
JSP Introduction
JSP Setup
Simple JSP Example
JSP Variable
Array Declaration in JSP
JSP Forms and User Input
Form Validation
JSP Cookies
JSP Session Object
Loop, content collection, iterator, conditional check in JSP
JSP Application Object
JSP Include
JSP Response Object
JSP Request Object
JSP Error Handling
JSP File Handling Object
JSP Action Tag
JSP Implicit Objects
JSP Declaration
JSP Directive
JDBC Introduction
JDBC Driver
JDBC Connection
JDBC Prepared/Statement
JDBC ResultSet
JDBC Close Connection object
JDBC Insert
JDBC Display Records
JDBC Update
JDBC Delete
JDBC Sorting
JDBC Query
JDBC Exception
JDBC Add Batch
JDBC Transaction/RollBack