RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
grep with Basic Regular Expressions
$ grep root /etc/passwd root:x:0:0:root:/root:/bin/bash operator:x:11:0:operator:/root:/sbin/nologin
egrep with Extended Regular Expressions
$ egrep '^(0|1)+ [a-zA-Z]+$' searchfile.txt 011 AaBBS
fgrep with no Regular expressions
$ fgrep "." .bashrc # will match lines with a dot.
pgrep with name of process
$ pgrep python 1299
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website