how to find multiple string?
Answers were Sorted based on User's Feedback
Answer / sarvan
Use extended grep command
egrep 'searchstr1 | searchchstr2' file.txt
Is This Answer Correct ? | 18 Yes | 1 No |
Answer / satyaranjan samal
grep -e 'string 1' -e 'string 2' filename
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / amedela chandra sekhar
fgrep 'searchstr1 | searchchstr2' file.txt
Is This Answer Correct ? | 9 Yes | 6 No |
How to find out what processes are running in the background in unix?
How can you kill a process in unix?
What are the basic responsibilities of a shell?
How do you make programs portable on unix and dos under such circumstances?
Is windows a unix operating system?
What is meant by u-area?
How do you change directories in unix?
What is unix environment?
How to install unix on windows 10?
What are the common directory management commands in unix?
command to show the space allocation of files?
Discuss briefly about the directory representation in unix.