Hi All, Can you please let me know how to grep for a
particular pattern in unix. I want to print the dates from
the file exp.txt. the date pattern is DD:MM:YYYY, I just
want to print all the dates from the file exp.txt.
Answer Posted / shweta
grep -v "[Aa-Zz]" exp.txt
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Are you in or at the office?
Explain command to view process running?
What do chgrp command do?
What is the functionality of a top command?
Which command is used to restrict incoming messages?
What is a command and examples?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the difference between grep and grep?
What are some command words?
What is updatedb?
How do I run a whois command?
Name the general commands in using unix os for a beginner?
What is nr in awk command?
What are reported commands?
Explain mount and unmount command.