Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Find File in Linux ::

This is a discussion on Find File in Linux :: within the Unix/Linux forums, part of the Operating Systems category; Hi friends, 4 shell tools for find files in linux 1. locate syntax :: locate file_name 2. which This command tells you where a command lives. Eg : which firefox ...

Go Back   Geeks Talk > Operating Systems > Unix/Linux
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 10-13-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 984
Thanks: 155
Thanked 420 Times in 201 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Find File in Linux ::

Hi friends,

4 shell tools for find files in linux

1. locate
syntax ::
locate file_name

2. which
This command tells you where a command lives.

Eg : which firefox

3. whereis

This command will not only tell you where the executable file is located at, but it will also locate the source, man page, and other associated directories as well.

whereis firefox

4. find

find can basically do everything: from search for files based on last modified times, owners and groups, permissions, type (file, directory, symbolic link, etc), whether the file is readable/writable/executable by the current user, file size, whether the file or directory is empty, and much more.

You can also search for matches by regular expression.

Thanks,
Rijus.
-------------------------------------

Real Inspirational Journey.........Unanimously & Sincerely.

Last edited by rijus; 10-13-2009 at 10:55 AM.
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Operating Systems > Unix/Linux

Thread Tools
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux Tips :Find details about your ISO images from the Linux command line rijus Unix/Linux 1 08-05-2009 03:09 AM
To find all linux users susarlasireesha Unix/Linux 3 11-07-2008 07:54 AM
Java Source file does not compile on Linux jitudash Unix/Linux 0 02-07-2008 05:10 AM
Header file in C++ to do graphics programming under Linux jitudash C and C++ 1 07-17-2007 10:35 AM
File Types in Linux Bessie Unix/Linux 2 04-25-2007 06:19 AM


All times are GMT -4. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved