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 |
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
What is the command to see on which port which service is running?
You issue the command head * what would the resulting output be?
How do I check disk space in bash?
in unix how to change old name to new name
What are the files to be used in the network installation of linux os?
How does mkdir work in linux?
What are the ms dos commands?
How do I check my cpu speed?
What is the use of ls command?
What is ulimit command?
How do makefiles work?