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 s and g in sed command?
what is the use of uniq commmand?
If JFS file system is 100% full how we can increase the file system ?
In UNIX, what is the command to edit contents of the file?
how to delete entire records in unix ?
What is the functions of zambie process?
what is telnet?
What is unix command?
what is the use of "test" command in unix?
Explain ‘library functions’ with respect to unix commands?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.
what are filters?