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 |
How can you copy files or directories?
what is shell?
How do you execute a UNIX command in the background?
What does grep v do?
What does mkdir up2date; touch outdated up2date do?
hw will u use awk in replacing cahrs and files
What are awk commands?
What are file commands?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
what these two commands prints "echo test","cat test"?
What is sed awk grep?
what is tar command and what are the different types of tar commands?