Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. cd macwsz
  2. mkdir exreg
  3. cd exreg
  4. curl -O http://alioth.uwb.edu.pl/so/data/error_log
  5. grep -n '^I' error_log > info_only
  6. grep -n '^E' error_log > errors_only
  7. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2008" errors_log > 2008.txt
  8. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2009" error_log > 2009.txt
  9. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2010" error_log > 2010.txt
  10. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2011" error_log > 2011.txt
  11. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2012" error_log > 2012.txt
  12. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2013" error_log > 2013.txt
  13. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2014" error_log > 2014.txt
  14. grep "[0-3][0-9]/[A-Z][a-z][a-z]/2015" error_log > 2015.txt
  15. 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