Linux interview questions and Snippets for daily use on Linux :P

Thursday, November 28, 2013

if a grep statement is successful then it retun 0 if failed then it returns 1.

bingo !
Posted by gaurav at 3:26 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2014 (2)
    • ►  January (2)
  • ▼  2013 (15)
    • ►  December (2)
    • ▼  November (5)
      • Suppose you are on top windo and want to kill a p...
      • if a grep statement is successful then it retun 0...
      • creating alias in mac/linux/unix/cent OS :) alia...
      • tail -f /var/log/messages | grep --line-buffered ...
      • grep -b 2 "peak_flow_alarm_cleared" /data/SNMPLog...
    • ►  October (8)

Contributors

  • Detonator
  • gaurav
Simple theme. Powered by Blogger.