How often do you use grep command and how in Linux operating system?



How often do you use grep command and how in Linux operating system?..

Answer / Rajnish Anand

The 'grep' command is used frequently in Linux to search for a specific pattern within files or output. The syntax of the command is: grep PATTERN FILE, where PATTERN is the text to be searched and FILE is the name of the file being searched. You can also use pipes (|) to filter the output of other commands using grep.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

How do you copy in terminal?

1 Answers  


When u comment the ctrl+alt+del trap in the /etc/inittab save the file. Tell the command to save the changes without rebooting the machine?

1 Answers   HCL,


What does rmdir do in linux?

1 Answers  


What is the difference between find and locate command in linux?

1 Answers  


what is lilo?How it is useful in linux?

3 Answers   HCL, SofTec,


Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.

7 Answers   HP, IBM,


What is chainloading?

4 Answers  


What Command used to lock user password?

1 Answers  


what is the command for finding the higest memory occupied file in linux?

9 Answers   IBM,


How would you check the available disk space on a Linux system?

1 Answers  


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

1 Answers   UGC Corporation,


How do make computer faster?

1 Answers  


Categories