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 / megharam
$date +DATE:%d-%m-%y
| Is This Answer Correct ? | 0 Yes | 13 No |
Post New Answer View All Answers
How do you grep recursively?
What is awk used for?
What is the functionality of a top command?
What are the differences among a system call, a library function, and a unix command?
How to display no of records in oracle using unix command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is time_t?
What are bash commands?
How can we use grep command in unix?
What is the use of awk command in unix?
hw will u use awk in replacing cahrs and files
Why is it called grep?
What is the use of egrep command in unix?
Write a command that will display files in the current directory, in a colored, long format.
What is grep command in unix with examples?