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

Answer Posted / sudhir kumar

sorry the command will be like below..

grep -x "abc" <file_name>

Regards,
Sudhir Kumar

Is This Answer Correct ?    6 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep and how do you use it?

585


What is s and g in sed command?

567


How to find $ai_serual resolved path by using unix

1039


What do chown command do?

541


What is the command to find hidden files in the current directory?

594






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

626


What are some command words?

571


What happens when we execute a unix command?

607


Differentiate cat command from more command.

584


Which command is used to kill the last background job?

787


What is grep r?

598


Who command in unix?

582


What is merge command in unix?

952


Who command in unix operating system?

669


What are filter commands in unix?

559