Answer Posted / dhina
Grep will help us to display the particular information from
a file. For example.
grep apple fruitlist.txt
In this case, grep prints all lines containing 'apple' from
the file fruitlist.txt
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do I run a bash script?
What does touch command do in unix?
Differentiate cat command from more command.
What does 'mkdir' command do in UNIX?
What is the size of time_t?
Why is it called a shebang?
Enumerate some of the most commonly used network commands in unix?
What does grep v do?
What does this command do? Cat food 1 > kitty
How do I find previous commands in unix?
What is the first character of the output in ls l command?
Write a command that will display files in the current directory, in a colored, long format.
Is ‘du’ a command? If so, what is its use?
How do I use grep to search for a file?
Name the unix command to find how many days the server has been up.