Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sudhir
The command will be like this
grep -c "abd" <file_name>
This command gives you the line number which contain three
character.
Regrds,
Sudhir
Is This Answer Correct ? | 6 Yes | 18 No |
in UNIX,what is the command to remove directory with files?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
what is the cmd to display the last exit status in UNIX?
How does a user get the current date, time in UNIX?
What is the significance of the 'tee' command?
What Command is used to make a directory?
What will the following command do?
How to find and replace the below command?
What do chgrp command do?
Who invented grep?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
What is the different between UNIX command and UNIX shell script?