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 |
what is the command to list all files in a directory, including the hidden files in UNIX ?
What is command statement?
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
what is virtual machine?
What is grep in bash?
what is the shell for dos,nt operating systems?
Does cp command overwrite files?
How does the system know where one command ends and another begins?
what is the meaning of this command rm -rf / what will it do ?
Explain command to view process running?
Who wrote grep?