π§βπ»
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
class Number; | |
class Integer; | |
class Rational; | |
class Number | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "TEST-1 Google" | |
foo=$(ping -c 100 google.com | grep rtt) | |
echo "FOO: $foo" | |
echo $foo | awk -F' = ' '{print $2}' | awk -F'/' '{print "RTT Stats: \nMin: " $1 "\nAverage: " $2 "\nMaximum: " $3 "\nMdev: "$4}' | |
echo "RESULT : Poor Internet" & | |
avg=$(echo $foo | awk -F' = ' '{print $2}' | awk -F'/' '{print $2}') | |
echo "AVG: $avg" |
NewerOlder