Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

181
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

0

Use -name switch:

find . -name  'Python.h' 

Otherwise it takes the name as location to look at.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda