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 |
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
what is the functionality of kernel in unix architecture?
How to add content of one file into another file at the beginning
Explain command to show the space allocation of files?
what is virtual machine?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How do I run a whois command?
How do I open a port?
Which command is used to delete all files in the current directory and all its sub-directories?
what is the default permission for /etc/shadow file in UNIX
distinguish between physical addresses and logical address?
What command will bring user back to their home directory in UNIX?