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
What does the metacharacter mean?
Explain command to show the space allocation of files?
What do chown command do?
What is unix command line?
What is the command to find hidden files in the current directory?
Does cp command overwrite files?
What is in grep command?
What is the use of tee command?
Differentiate cat command from more command.
What is grep and how do you use it?
Is grep faster than awk?
What is the use of find command in unix?
What are the dos commands?
How does shebang work?
What are file commands?