Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. awk '/Speed:/ {print $3}' screenlog.0
  2.  
  3. pilot6@Pilot6:~$ echo "Total Speed: 118.604 Mh/s, Total Shares: 5...." | awk '/Speed:/ {print $3}'
  4. 118.604
  5.  
  6. ... |tail -n3 | grep -Pzo '(?<=Total Speed: ).*?(?=Mh/s)' infile.txt
  7.  
  8. 118.604
  9. 118.604
  10. 118.604
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement