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 do you make programs portable on unix and dos under such circumstances?
What are the four components of the unix file system?
What is a unix file?
What are the criteria for choosing a process for swapping out of the memory to the swap device?
Explain a path in unix.
Is used to create ordinary files on any unix system?
What are the hidden files in unix?
Explain different types of Unix systems.
How to remove the directory in unix?
How do we change file access permissions?
Is unix an operating system?
What are the features and benefits of unix?