Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / saravan
Sorry use the below commands to get the exact word contains
3 char in the file.
grep -w "[a-zA-Z][a-zA-Z][a-zA-Z]" <filename>
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Write a command to kill the last background job?
How does the system know where one command ends and another begins?
How do I use nslookup?
Explain ‘system calls’ with respect to unix commands?
What is s and g in sed command?
How does pipe () work?
Differentiate cmp command from diff command.
What is the search command in unix?
How can you see the command line history?
Are you in or at the office?
Which unix command lists files/folders in alphabetical order?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the command to find maximum memory taking process on the server?
What is the functionality of a top command?
Explain mount and unmount command.