Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
Linux "find" returns all files

A few days ago I was reading about the Linux find tool and based on that I issued the following command to see if I have the Python.h file:

find . 'Python.h'

The problem is that all files in current dir and subdirs are returned. Shouldn't I get what I'm looking for?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You left out the parameter specifier -name:

find ./ -name 'Python.h'

find will recurse through all directories in the current directory. If you just want to see whether you have a file in the current directory, use ls:

ls Python.h
over 4 years ago · Santiago Trujillo Report

0

Use -name switch:

find . -name  'Python.h' 

Otherwise it takes the name as location to look at.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!