grep

print lines matching a pattern

look for occurrences of 4 in 1 2 3 4
copy
11
0
echo 1 2 3 4 | grep 4look for occurrences of 4 in 1 2 3 4

8 years, 4 months ago john 0 | details |

Result:

1 2 3 4