Display the name of all files with home directory which is smaller (in size) than 10 KB but bigger than 5 KB. using Linux comand.

pls help me


A command to do this is ...

find . -type f -size +5c -size -10c
  • where . searches from the directory you start the command.
  • -type f will find files and not directories
  • -size +5c means larger than 5 bytes.
  • -size -10c means smaller than 10 bytes.
  • Thnaku you. @Rinzwind – Arul Prasad J Jan 17 '16 at 14:35
  • How do i display a sorted list of all files in the home directory? – Arul Prasad J Jan 17 '16 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.