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 is difference between grep and find command in unix?
What is a bash command?
How do I run a bash script?
Write a command that will display files in the current directory, in a colored, long format.
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Does cp command overwrite files?
What does the command '$ls | wc –l > file1' do?
How to display no of records in oracle using unix command?
How do you repeat a command in terminal?
What is used to type command?
What are some command words?
What is the difference between grep and grep?
What is the difference between cat command and more command?
What is the general format of unix command syntax?
What is ‘ps’ command for?