Search Results

Search: Posts Made By: gnak
1,940
Posted By gnak
Thank you both.
Thank you both.
1,940
Posted By gnak
Little script with awk
Hello, i would like to test the number of files in a directory, and if this number is greater than 100 (for example) send an email with the value. I tried this

ls | wc -l | awk '{if ( $1 > 100 )...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy