Code:
flamingo:~ joliver$ sudo find / -nogroup
find: /dev/fd/4: No such file or directory
find: /home: No such file or directory
find: /Library: No such file or directory
find: /net: No such file or directory
find: /Network: No such file or directory
find: /private: No such file or directory
find: /sbin: No such file or directory
find: /System: No such file or directory
find: /Users: No such
I thought the flags I mentioned in the question are the same, but I get the following message with the former, but nothing with the latter:
$ find .
In Unix, is there any way to compare every file in a directory to every other file in a directory, and then list each pair of files by similarity (meaning the amount of difference between each file)? There are already some command-line Unix programs (such as fdupes) that can find duplicate files in a directory, but I'm wondering if it's possible to find similar files using a shell script as well.
I have a bash script /var/www/scripts/process_sounds.sh that uses the command:
find /var/www/unprocessed_sounds/ * -type f
It's supposed to find all the files in the unprocessed_sounds directory, which it does, but it also find all the files in the scripts directory (and then processes them like sound files, which is not what I want).
Why would find return things in the current directory?
Hi,
How can i find the types of files in some directory(~/mydir) that start with word "fix" then followed by number 3, 4, 7 or 8 and end with .ccp or .in
How can i find the total number of files that are larger than 5000 bytes in specific directory?, I can do it by current directory by using
find -size +5000c -print | wc -l
but how to find in specific directory ex: /home/user
Thank
Hi,
I need to delete the last N days file using find.
I am trying to use
find . -mtime -10 -print
which lists down required files.
but when i use
find . -mtime -10 -exec ls -lrt {} \;
it gives me all files in the directory including the required files but the required files are having ./ preceded with them.
Now when I tried
find .
Hi,
I'm new to scripting. I need to find all the 10 files in the source directory and then archieve them to archive directory.
The source files which im getting does not have any extensions just binary files.
I need to find them by the file names and archive it. Directory also contains other files which i cannnot archieve. Please suggest me
Source dir
target dir
files(10)
From time to time when I run chkrootkit I get the following results:
Searching for suspect PHP files...
I understand that files in /dev are device files that represent devices on the computer. But which is which?