What is the syntax of grep command and what is its use?
Answer Posted / bharath
grep command is used to search a file for keywords.
grep 'keyword' file
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Explain how to use grep command to list find the records of a file containing 10 different strings?
how to sort the content of the file based on numeric values
Why is it called grep?
How do I search for a file in unix command?
Which unix command lists files/folders in alphabetical order?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the use of tee command?
What is unix command?
Enlist some filename manipulation commands in unix.
What does sed command do in unix?
What is the nmap command?
Which command is used to delete all files in the current directory and all its sub-directories?
How to find $ai_serual resolved path by using unix
Explain command to view process running?