Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.

Answer Posted / chakri

grep -a filename

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

581


What does the command '$ls | wc –l > file1' do?

684


What is difference between grep and find command in unix?

580


What command is used to switching between users in unix?

564


What is in grep command?

650






Name the general commands in using unix os for a beginner?

625


What does the metacharacter mean?

612


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:

1764


What will the following command do?

617


Can you enlist some commonly used network commands?

602


What do know about tee command and its usage?

591


Differentiate cat command from more command.

578


What command is used to check the current users?

596


Which command is used to kill the last background job?

782


What is awk command used for?

602