Search Results

Search: Posts Made By: holyearth
2,121
Posted By Scrutinizer
Try: ... | xargs grep -lE 'Date.*800|800.*Date'
Try:
... | xargs grep -lE 'Date.*800|800.*Date'
2,316
Posted By methyl
Combining some of the ideas above we can condense...
Combining some of the ideas above we can condense the script to:
while test $(wc -l < /home/count.txt) -gt 10
do
sed -i "1,1 d" /home/count.txt
done

Which most would write as:
while [...
Showing results 1 to 2 of 2

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