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 |
Which command is used to copy files?
What is the Unix file system hierarchy?
what is virtual machine?
What are reported commands?
How to display a file name which has zero bytes in size.
How do you move a process which is running background to foreground?
What is the unix command to confirm a remote host is alive or not?
How to get a particular string as your prompt ? Give syntax of that command?
How do you execute a UNIX command in the background?
Does cp command overwrite files?
How to see unused port number in Solaris?
What is the output of : $ ps-e $ ps-a commands