Linux Grep and Windows Find

When working I experienced using Linux Grep and Windows Find in terminal to search string. It is quite useful so I share here and for future reference.

When using Windows, we may use

netstat -abon | find "Segments"

When using Linux, we may use

ifconfig | grep "192.168"

When using Linux to search occurrences of something over folders

grep -r "something to search" "folder name"

Author: fyhao

Jebsen & Jessen Comms Singapore INTI University College Bsc (Hon) of Computer Science, Coventry University

Leave a Reply