Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
home_server:home_server_setup:other_services:misc [2024-08-03 Sat wk31 09:41] – [pbcopy pbpaste] baumkphome_server:home_server_setup:other_services:misc [2024-09-28 Sat wk39 20:53] (current) – [Grep finds strings] baumkp
Line 195: Line 195:
 Once you're comfortable with using grep to find simple strings as seen above, it can do far more complex tasks. These include but are not limited to: case-insensitive use, more complex patterns (including full regular expressions), exclusion (only show me lines that don't include the pattern), and much, much more. But don't worry about that until after you're familiar with simple grep uses. Once you start, it's truly hard to imagine life without grep anymore! Once you're comfortable with using grep to find simple strings as seen above, it can do far more complex tasks. These include but are not limited to: case-insensitive use, more complex patterns (including full regular expressions), exclusion (only show me lines that don't include the pattern), and much, much more. But don't worry about that until after you're familiar with simple grep uses. Once you start, it's truly hard to imagine life without grep anymore!
  
 +====netstat====
 +  *''netstat -n'' to see active internet connections
 +  *''netstat -ie'' to see kernal interface table
 +  *''netstat -u'' to see status of TCP/IP connections
 +  *''netstat -p'' to see all the active IPv4 connections
 +  *''netstat -a'' to demonstrate the stat of all sockets, TCP and UDP
 +  *''netstat -s'' to see statistical summary for each available protocol
 +  *''netstat -su'' to see statistical summary of UDP
 +  *''netstat -stu'' to see statistical summary of TCP
 +  *''netstat -r'' to kernal route table 
 =====Sed replaces strings===== =====Sed replaces strings=====