• We did not send an email asking for donations - please read this post.

find command

  1. K

    bash script, find amount of strings in files

    Hello everyone! I am writing script which must count amount of strings in files .z format. Name of folder can changes in dependence of current date, if it's 1-st date of the month script count amount in folder which is called 2210 (previous month ) if today is not 1-st day of month then folder...
  2. CrazedNerd

    Can anyone explain this odd behavior from the "find" command?

    EDIT: Wasn't a "find" error but mistaken about permission numbers. So I've been testing more complicated results of the find command with finding files with certain permissions. With the first attempt, I use an or operator to display files with 0611 and 0700, because there are only a few of...
  3. A

    Using "find" to search an entire system

    [email protected]:~$ sudo find . -name "mdi.pro" ./Downloads/qt-everywhere-src-6.2.1/qtbase/examples/widgets/mainwindows/mdi/mdi.pro ./Qt/Examples/Qt-6.2.2/widgets/mainwindows/mdi/mdi.pro [email protected]:~$ REALLY STUPID question: The above searches ONLY current folder . I need to search entire...
  4. D

    Running the Find command in the background

    Hello, I am going through a Linux course and was asked to run the find command in the background and it should list all files that have changed in the last 5 days. I am running the following command, but it ignores the & to background it - find / -mtime -5 & I am also trying to suspend the...
Top