Answer Posted / bharath
grep command is used to search a string or a keyword in a
file.
syntax:
grep 'keyword' file
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is pipe command in unix?
What is the function of grep command in unix?
Is command prompt unix?
What is difference between grep and find command in unix?
How do I find previous commands in unix?
How many unix commands are there?
What does #!/ Bin sh do?
How can you see the command line history?
Name the various commands that are used for the user information in unix.
Explain how to use grep command to list find the records of a file containing 10 different strings?
What does this command do? Cat food 1 > kitty
What does touch command do in unix?
What will the following command do?
Which command should you use to find the remaining disk space in unix server?
Can you explain a little bit about command substitution?