Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching for files 1

Status
Not open for further replies.

stressball

Programmer
Mar 14, 2001
68
AU
This is easy i'm sure but I'm new to Linux, have just installed Redhat 6.2, Oracle 8.1.6, and am now installing Oracle 9iAS, i need to access and modify a file called listener.ora, how do I find it? Its supposedly in the "origin database" i've looked in my oracle home directory but can't find it. What is the syntax to seach for a file in all directorys?
 
first update the datebase on the server.

run updatedb
then run
locate filename

to find your file.

Sina
 
The command for linux is "find / -name [filename] -print" . If you are trying to use wildcards, place the filename in quotes such as "file*". Also, if there is a path to the file, type "which [filename]" and it will display where the file resides. One more thing, if you are in the correct directory, type "ls [fil}" then TAB. This will display all of the files that start with fil in that diectory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top