142
rated 0 times
[
142]
[
0]
/ answers: 1 / hits: 375800
/ 3 Years ago, mon, september 27, 2021, 6:11:23
I have file like this :
other lines . . .
blah blah blah (:34)
I wish to find the occurrence of numbers in the above file. I came up with:
grep [0-9] filename
But that is printing the whole:
blah blah blah (:34)
Rather I want only 34
. Is there any way to do so?
More From » command-line