daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ cat delete1
  2. KEEPALIVED-MIB.txt:     virtualServerRateCps Gauge32,
  3. KEEPALIVED-MIB.txt:    SYNTAX INTEGER { tcp(1), udp(2) }
  4. KEEPALIVED-MIB.txt:virtualServerRateCps OBJECT-TYPE
  5. KEEPALIVED-MIB.txt:     realServerRateCps Gauge32,
  6. KEEPALIVED-MIB.txt:realServerRateCps OBJECT-TYPE
  7. KEEPALIVED-MIB.txt:     virtualServerRateCps,
  8. KEEPALIVED-MIB.txt:     realServerRateCps,
  9. MF-Diameter-MIB.txt:                tcp(1),
  10.    
  11. $ grep -i 'cpu' delete1
  12.    
  13. $ grep -i 'cpu*' delete1
  14. KEEPALIVED-MIB.txt:     virtualServerRateCps Gauge32,
  15. KEEPALIVED-MIB.txt:    SYNTAX INTEGER { tcp(1), udp(2) }
  16. KEEPALIVED-MIB.txt:virtualServerRateCps OBJECT-TYPE
  17. KEEPALIVED-MIB.txt:     realServerRateCps Gauge32,
  18. KEEPALIVED-MIB.txt:realServerRateCps OBJECT-TYPE
  19. KEEPALIVED-MIB.txt:     virtualServerRateCps,
  20. KEEPALIVED-MIB.txt:     realServerRateCps,
  21. MF-Diameter-MIB.txt:                tcp(1),
  22.    
  23. a*  ---> a{0,}  ---> Match a or aa or aaaaa or an empty string
  24.    
  25. $ cat delete
  26. cpu1
  27. cpu2
  28. cpu
  29. cp
  30.  
  31. $ grep -i 'cpu' delete
  32. cpu1
  33. cpu2
  34. cpu
  35.    
  36. $ grep -i 'cpu*' delete
  37. cpu1
  38. cpu2
  39. cpu
  40. cp
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top