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