Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Differentiate cat command from more command.

1144


Write a command that will display files in the current directory, in a colored, long format.

1211


Which command should you use to find the remaining disk space in unix server?

1302


How do I find previous commands in unix?

1183


What do know about tee command?

1155


What is a bash command?

1173


What is the difference between cat and more command?

1291


What is the use of tee command?

1155


What is the difference between grep and grep?

1122


What is ‘ps’ command for?

1180


What is the use of finger command?

1207


Which command is used to find whether the system is 32 bit or 64 bit?

1145


Enlist some filename manipulation commands in unix.

1156


Explain the steps that a shell follows while processing a command.

1227


Which command is used to kill the last background job?

1331