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
Enumerate some of the most commonly used network commands in unix?
Are you in or at the office?
Which command is used to delete all files in the current directory and all its sub-directories?
What does the metacharacter mean?
What is the first character of the output in ls l command?
What is the use of egrep command in unix?
What does the command ' $who | sort –logfile > newfile' do?
What are the commands in UNIX to list the files in a Directory?
How do I delete files from command prompt?
what is the advaantage of each user having its own copy of the shell?
What is the use of find command in unix?
Which unix command lists files/folders in alphabetical order?
What is the command to find hidden files in the current directory?
Can you enlist some commonly used network commands?
Who command in unix?