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. Exporting Visio Diagrams in Other File Formats
    By The Donald in forum Windows - General Topics
    Replies: 1
    Last Post: 07-08-2005, 12:55 PM
  2. How to use the Sysprep tool
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 09:34 PM
  3. File Formats Supported by Windows Media Player
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-03-2005, 11:17 PM
  4. Calling all mail server admins
    By demian in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 04-21-2004, 08:21 PM

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
  •