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
What are reported commands?
What is the command to find maximum memory taking process on the server?
What does the command ' $who | sort –logfile > newfile' do?
What command is used to check the current users?
Can you explain a little bit about command substitution?
What are grep patterns?
What does 'mkdir' command do in UNIX?
What does sed command do in unix?
What is the unix command to confirm a remote host is alive or not?
Which command is used to delete all files in the current directory and all its sub-directories?
How do I open a port?
What are the unix commands?
How do you grep recursively?
What is ctrl d?
What is grep command in unix with examples?