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...

write grep commands to select the lines that have exactly
two characters

Answer Posted / supriya

grep "..$" <filename>

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain command to view process running?

1091


how to sort the content of the file based on numeric values

1739


Which command is used to restrict incoming messages?

1061


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1275


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2217


What are file commands?

1184


why metadb requires a seperate slice to create Solaris volume manager

3101


What are awk commands?

1110


What do chmod command do?

1155


What is the use of find command in unix?

1102


Is grep faster than awk?

1002


What is the comma to show the space allocation of files?

1031


What are the general commands in using unix os for a beginner?

1128


Enlist some filename manipulation commands in unix.

1106


Enumerate some of the most commonly used network commands in unix?

1123