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
How do you repeat a command in terminal?
What command will change your prompt to myprompt?
What is nr in awk command?
What is the pipe command?
Who command in unix?
How can you see the command line history?
What is difference between grep and find command in unix?
What is awk good for?
Which command is used to find whether the system is 32 bit or 64 bit?
How do I delete files from command prompt?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the command to find hidden files in the current directory?
What do chmod, chown, chgrp commands do?
Which command is used to copy files?
What is the comma to show the space allocation of files?