Struggling with ls command
Hi folks, I need some help with the ls command...(sorry for the silly rookie question)
I need to search in "/" and all subdirectories, all files greather than 30 MB... Thanks in advise! |
You should use the "find" command for this. For example:
Code:
find / -size +30M |
For that, the find command is probably better:
Code:
find / -size +30M |
The 'ls' command only lists files, it does not filter them.
You could probably do it with grep/sed/awk but its better to just use find. @mattca,evo2: LOL Same thing @ the same minute. |
Woooowww....incredible fast reply!...thanks a lot! mattca and evo2! worked as axpected!
Best regards! |
haha, evo was ahead by a nose!
|
All times are GMT -5. The time now is 08:00 AM. |