Answers for "grep -i"

4

grep and

# EXAMPLE: displays any lines that contain either "include this string" or "this works too" 
egrep "include this string|this works too" *

# SYNTAX:
# egrep "<pattern-1>|<pattern-2>" *

# egrep is combined with the "|" character (pipeline: normally the shift alternative to the "\" on the keyboard)
Posted by: Guest on June-24-2020
4

grep -i

With -i flag you can grep a substring with insensitive-case:
grep -i "substring_with_lower_or_upper_case"
Posted by: Guest on October-19-2020
3

grep -r

grep -r 'text goes here' path_goes_here
Posted by: Guest on April-25-2021
-1

grepp

.browser-mockup {
  border-top: 2em solid #48758A;
  position: relative;
  border-radius: 10px 3px 0 0
}
.browser-mockup:before {
  display: block;
  position: absolute;
  content: '';
  top: -1.25em;
  left: 1em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background-color: #f44;
}
.browser-mockup.with-tab:after {
  display: block;
  position: absolute;
  content: '';
  width: 20%;
  height: 0em;
  border-bottom: 2em solid white;
  border-left: 0.8em solid transparent;
  border-right: 0.8em solid transparent;
}
Posted by: Guest on August-30-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language