Answer the question
In order to leave comments, you need to log in
Why is the uniq command not working properly?
There is a catalog. It contains other subdirectories, which in turn contains more subdirectories and files. I need to find duplicate names of files and directories in it. I tried the following command: ls -1R /путь до основного каталога | uniq -D
No results.
Then I tried to do this:
ls -1R /путь до основного каталога > file
uniq -D file
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question