Reputation
7,356
Next tag badge:
67/100 score
13/20 answers
Badges
1 24 48
Newest
 Enlightened
Impact
~401k people reached

20h
comment Unable to match a specific number with “grep -E”
@user3787219: I tried with your file, but it works for me (12.12.12.12 is matched, 127.0.0.0 is matched, ...). Are you sure the IPAddresses.txt file you are seeing is the same you are giving to grep?
20h
comment Unable to match a specific number with “grep -E”
@user3787219: I've updated the answer to show you the exact command.
20h
revised Unable to match a specific number with “grep -E”
added 15 characters in body
20h
comment Unable to match a specific number with “grep -E”
@user3787219: you are using another expression. Copy and paste the one from my answer.
20h
comment Unable to match a specific number with “grep -E”
@user3787219: mh, I think I understood. You are using the regular expression without quoting it. You should use grep -E "^...$", not grep -E ^...$
21h
comment Unable to match a specific number with “grep -E”
@user3787219: \b matches the word boundary, ^ matches the start of the line, $ matches the end of the line. What problems are you experiencing? Perhaps, aren't your IP addresses are one per line?
21h
comment Unable to match a specific number with “grep -E”
@user3787219: updated answer. However note that the web is full of regular expressions for matching IP addresses :)
21h
revised Unable to match a specific number with “grep -E”
added 206 characters in body
21h
comment Unable to match a specific number with “grep -E”
@user3787219: you want to match valid IP addresses?
21h
revised Unable to match a specific number with “grep -E”
added 7 characters in body
21h
reviewed Reviewed Xubuntu 15.04 post install encryption
21h
comment Xubuntu 15.04 post install encryption
You should go with LVM encryption. I don't recall if this option is offered on the desktop installer (I know it is offered on the server installer), however "LVM encryption" is a way (IMO the best way) to achieve your goal.
21h
revised Xubuntu 15.04 post install encryption
added 17 characters in body
22h
answered Unable to match a specific number with “grep -E”
22h
reviewed Reviewed Unable to match a specific number with “grep -E”
22h
revised Unable to match a specific number with “grep -E”
added 48 characters in body; edited title
1d
reviewed Approve bluetooth not working in ubuntu 15.04.It's displaying “no adapter found” on my lap hp2000
1d
revised How to uninstall Android Studio completely from Ubuntu?
added 36 characters in body
1d
revised How to uninstall Android Studio completely from Ubuntu?
added 104 characters in body
1d
reviewed Leave Closed How to uninstall Android Studio completely from Ubuntu?