Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Linux 1
« Previous
Next »
What is used to search files for specified words or patterns?
Options
- less
- srch
- %src
- grep
CORRECT ANSWER : grep
Discussion Board
Explanation-
In Linux, grep command is used to search a pattern in one or more files directly from the command line.
Syntax:
grep [OPTIONS] PATTERN [FILE...]
PATTERN as a mandatory argument. The OPTION and FILE arguments are non-mandatory. While the OPTION argument tells the grep command to act in a way as specified by the definition of that OPTION, the FILE argument tells the grep command about the files in which the pattern needs to be searched.
Sapna 03-3-2017 05:47 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Networking (40)
Iphone (10)
Android (11)
Wireless communication (11)
OS (10)
Linuxpart (27)
Linuxpart (25)
Linux part (25)
Advertisement
▲