Explain how you would find a specific string in a file.
Answer Posted / hr@tgksolutions.com
You can use the 'grep' program to locate a certain string in a file. 'grep "search_string" filename', for instance, will look for'search_string' inside 'filename' and show the lines that match.
An ideal applicant will be aware of extra options like 'grep -i' for case-insensitive searches and 'grep -r' for recursive directory searches. This indicates a deeper comprehension of the proper use of 'grep'.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about the command elm?
What is finger command in linux?
What happens to hard link when file is deleted?
What command should you use to check your file system?
What is dos and its commands?
What does mkdir mean in linux?
What does umask 022 mean?
How do you sort cpu in top command?
Which command would you use if you want to remove the password assigned to a group?
In order to display the last five commands you have entered using the fc command, you would type?
How do I run a .sh file in linux?
How can we increase disk read performance in single command in Linux?
What is the difference between cd and cd in linux?
What is llvm used for?
How do I remove a soft link in linux?