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
How do I find previous commands in unix?
What does this command do? Cat food 1 > kitty
What happens when we execute a unix command?
Which command can you use to find the currently running process in unix server?
How many unix commands are there?
What is unix command?
What is the unix command to confirm a remote host is alive or not?
What is the difference between awk and grep?
What is the function of grep command in unix?
How do I use grep to search for a file?
What do chmod command do?
Why is shebang used?
Who invented grep?
Which command is used to find whether the system is 32 bit or 64 bit?
What is rmdir command?