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
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Who command in unix?
How do I search for text in vi?
Enlist some filename manipulation commands in unix.
What does 'mkdir' command do in UNIX?
What is ‘ps’ command for?
What is “chmod” command?
How do you grep a case insensitive?
What do chmod command do?
What does find command return in unix?
What are filter commands in unix?
What command is used to check the current users?
How do I use grep to find a file?
What are some command words?
What does this command do? Cat food 1 > kitty