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
Which command is used to delete all files in the current directory and all its sub-directories?
Why is grep called grep?
What is the pipe command?
What happens when we execute a unix command?
What is a command and examples?
Can you enlist some commonly used network commands?
What is the use of sed command in unix?
How do I run a whois command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is s and g in sed command?
What is $0 bash?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of awk command in unix?
How do you grep recursively?
Which command is used to find whether the system is 32 bit or 64 bit?