Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / vawani
grep -x ^...$ <File Name>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of finger command?
What does #!/ Bin sh do?
What does 'mkdir' command do in UNIX?
What does the command '$ls | wc –l > file1' do?
What does the command ' $who | sort –logfile > newfile' do?
What do chmod command do?
What does the metacharacter mean?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What are bash commands?
What is the use of the command 'ls -x chapter[1-5]' ?
Enumerate some of the most commonly used network commands in unix?
What does sed command do in unix?
Explain ‘system calls’ with respect to unix commands?
why metadb requires a seperate slice to create Solaris volume manager
How to use grep command to list find the records of a file containing 10 different strings?