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

Answer Posted / ripu

grep ^...$ <filename>

Is This Answer Correct ?    61 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

620


What command is used to switching between users in unix?

564


What is the command to compare two files in unix?

624


What do chmod, chown, chgrp commands do?

641


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

625






Who wrote grep?

587


What is the use of awk command in unix?

581


Who invented grep?

653


What is the difference between awk and grep?

561


Describe the zip/unzip command using gzip.

615


How can we use grep command in unix?

618


What does find command return in unix?

596


what is the advaantage of each user having its own copy of the shell?

2038


Which command will print your home directory on screen?

546


Why is it called a shebang?

574