"The unexamined life is not worth living." --Socrates--
Monday, December 12, 2011
Egrep, Find, Iptables
Search for errors in logfiles.
sudo egrep '(warning | error | panic | fatal):' /some/dir/* | more
Find a file.
find / -name some.file -print 2>/dev/null
Show iptables current status.
iptables --list-numbers -n -L
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment