Find the answer to your Linux question:
Results 1 to 2 of 2
find . -name *.lex This command lists the output from the current directory as expected, but not from the subdirectories. Also, the command shows error in running from any of ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    4

    problem with find command

    find . -name *.lex

    This command lists the output from the current directory as expected, but not from the subdirectories. Also, the command shows error in running from any of the subdirectories.

    Why?

  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Posts
    4
    Problem solved.

    It should have been:
    find . -name "*.lex"

Posting Permissions

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