Results 1 to 4 of 4

Thread: Simple question regarding file searches.

  1. #1

    Simple question regarding file searches.

    from a DOS command line if i wanted to find a file somewhere on my hard drvie i would type the following:

    dir /s *.mp3

    using the /s switch to search all subdirectories
    the * wildcard for any files that end in .mp3

    how can i do the same from the linux command line? this is driving me crazy!

    thx in advance

  2. #2

    bash shell

    $man ls

    google 'bash'





    good luck

    u53r

  3. #3
    Newbie
    Join Date
    Apr 2005
    Location
    India
    Posts
    4

    a way to search a file

    Hi,

    Here goes.

    If the file u want to search is an executable then u can use which command . for example type

    which traceroute


    it will give u where executable of traceroute is placed.
    If the file is not executable then use slocate or locate command

    slocate filename
    or
    locate filename

    Trust this helps.

    If u have any further query, plz ask

    Thanx
    Gaurav

  4. #4
    Newbie
    Join Date
    Apr 2005
    Location
    India
    Posts
    4

    search a file

    u can also use find command with -name option

    find / -name filename

    Thanx
    Gaurav

Similar Threads

  1. NAT Question Im missing something simple
    By jccurtis in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 01-04-2006, 03:26 PM
  2. Simple Question
    By CP in forum General Chat
    Replies: 47
    Last Post: 09-16-2002, 10:09 PM
  3. MOVED: Simple Question
    By in forum General Chat
    Replies: 0
    Last Post: 07-26-2002, 03:39 PM
  4. Simple Question
    By Baldy in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-26-2002, 03:39 PM
  5. simple WindowMaker question
    By in forum Linux - Software, Applications & Programming
    Replies: 25
    Last Post: 05-01-2002, 03:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •