I'll probably add more as I find them.
http://serverfault.com/questions/4176/what-sysadmin-things-should-every-programmer-know
This answer to the above specifically covers how to debug networking issues for devs:
http://serverfault.com/a/4303/75301
A Small List of Best Practices for Sysadmins and Programmers - has a lot of links to other helpful pages
Linux: 25 PHP Security Best Practices For Sys Admins
Thursday, October 30, 2014
Thursday, October 2, 2014
grep in a bunch of files
I always have to look this up so I'm posting a note to myself here. To grep through all the files in a directory, recursively, and only get back a list of the files containing the string, do
E.g.:
Found this in this blog.
$ grep -lr "searchterm" location
E.g.:
$ grep -lr "Enum" /var/log/rtr/pops
$ grep -lr "receipt" .
Subscribe to:
Posts (Atom)