Explain how you would find a specific string in a file.
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 |
what is the difference between RHEL4 & RHEL5?
What is ulimit command?
how to run the boot loader in the linux.......
Explain any one service which are working on udp only?
How can I know my linux os is 32 bit or 64 bit? and How can i know my CPU is 32 bit or 64 bit in linux machine environment.?
What is bash command?
How do I check disk space in bash?
How can we increase disk read performance in single command?
How do I find command history in linux?
What are two subtle differences in using the more and the pg commands?
What is clang format?
how do u find remote machine operating system and version?