About 919,000 results
Open links in new tab
  1. command line - How to find a directory on linux? - Super User

    In case someone's wondering, the command in the question finds all directories (-type d) in the directory entry httpdocs (relative to the current working directory, usually but not necessarily a …

  2. How to get rid of errors when running find command in Linux?

    In bash, 2> /dev/null would actually work, as long as you add it as part of the find command itself, i.e., before the pipe. For example, this will work: find -type f -printf "%s %p\n" 2> /dev/null | sort …

  3. Equivalent of Unix find command on Windows - Super User

    Mar 16, 2012 · What is the equivalent of the Unix find command on Windows? I see that the find.exe on Windows is more like a grep. I am especially interested in the equivalent of find . …

  4. How to ignore certain filenames using "find"? - Super User

    find . -name '*.*' -exec grep 'SearchString' {} /dev/null \; which searches the contents of all of the files at and below the current directory for the specified SearchString. As a developer, this has …

  5. How do I execute multiple commands when using find?

    I'm trying to run multiple commands on things I have found, how can I achieve this? find . -exec cmd1; cmd2 does not seem to work; it instead runs cmd2 after cmd1 has been executed on …

  6. Command to find files for a specific time range - Super User

    Jan 17, 2018 · Yes, the find command can do this. It will take some experimentation and reading and re-reading the man page to get it to do what you want, but is amazing command. Below …

  7. linux - Faster alternatives to "find" and "locate"? - Super User

    Sep 29, 2011 · I will like to use "find" and locate" to search for source files in my project, but they take a long time to run. Are there faster alternatives to these programs I don't know about, or …

  8. How can I search the bash history and rerun a command?

    Jul 17, 2009 · 4 At the bash command prompt, type control-R, then type a few characters of the command you want and bash's readline facility will search through the command history for …

  9. How to get only names from find command without path

    Mar 2, 2013 · I am trying to get only the names from the search result using find, but it always includes the directories too. How can I print only the names (or assign to a variable) using find …

  10. How to use "find" command with several conditions? - Super User

    Jun 29, 2010 · How to use "find" command with several conditions? Ask Question Asked 15 years, 6 months ago Modified 11 years, 6 months ago