LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2004, 05:28 PM   #1
paschim
Member
 
Registered: Apr 2004
Location: UK, south london
Posts: 51

Rep: Reputation: 15
how to search file in linux


How do I perform search for the path in linux? if I want to find the path of KDE or mozilla how do i find? any commands pls?
 
Old 10-19-2004, 05:53 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
read "man updatedb" and "man locate"

basically you create a file location datebase with the command updatedb, and search the database with the locate command.
 
Old 10-19-2004, 06:18 PM   #3
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Rep: Reputation: 15
Your question seems to be a bit malformed, but here goes.

Quote:
How do I perform search for the path in linux?
There really is no such thing as the path, in the sense that if you look around hard enough you'll find a file that says "path". Instead it's a bash environment variable that tells your shell where all your executables are at.

Assuming you're using bash you can view where the path refers to by opening a terminal and typing this at the command line "echo $PATH", sans the double quotes of course.

Quote:
if I want to find the path of KDE or mozilla how do i find? any commands pls?
By path I'm assuming where you want to know where the executable is on your system. You should achieve enlightenment by typing "man whereis" on the command line and reading the resulting text.

Also KDE is not just one executable. It's a whole buttload of them. Mozilla, on the other hand, is just one executable. It can be found by typing "whereis mozilla" at the command line, but please do so only after reaching an enlightened state.

Hope that helps.

Last edited by goofyheadedpunk; 10-20-2004 at 03:03 PM.
 
Old 10-20-2004, 11:35 AM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
which mozilla
 
Old 10-20-2004, 01:56 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find File broken, need search utility, where does WineX install, KDE file roller? Ohmn Mandriva 6 07-05-2004 10:34 PM
How to 'apt-cache search' & 'apt-file search' by distribution? davidas Debian 3 04-19-2004 01:56 PM
How to search for a file montejr Linux - General 5 03-08-2004 01:12 PM
search for a file in linux partition sanjaya Linux - Software 2 02-16-2004 08:42 PM
file search Thinking Linux - Software 8 10-22-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration