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
What is grep command in unix with examples?
What does the md command do?
What is the use of finger command?
Is command prompt unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What do chmod command do?
How do I use grep to find a file?
What is the difference between grep and grep?
What does the command ' $who | sort –logfile > newfile' do?
Why is it called grep?
How do I use nslookup?
Can you enlist some commonly used network commands?
How can we use grep command in unix?
What is the use of cut command in unix?
What is the difference between cat command and more command?