Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd macwsz
- mkdir exreg
- cd exreg
- curl -O http://alioth.uwb.edu.pl/so/data/error_log
- grep -n '^I' error_log > info_only
- grep -n '^E' error_log > errors_only
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2008" errors_log > 2008.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2009" error_log > 2009.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2010" error_log > 2010.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2011" error_log > 2011.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2012" error_log > 2012.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2013" error_log > 2013.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2014" error_log > 2014.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2015" error_log > 2015.txt
- grep "[0-3][0-9]/[A-Z][a-z][a-z]/2016" error_log > 2016.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement