Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cat >./foo.bar <<EOL
- t=$(ping 8.8.8.8)
- EOL
- t=
- Pinging 8.8.8.8 with 32 bytes of data:
- Reply from 8.8.8.8: bytes=32 time=17ms TTL=57
- Reply from 8.8.8.8: bytes=32 time=16ms TTL=57
- Reply from 8.8.8.8: bytes=32 time=17ms TTL=57
- Reply from 8.8.8.8: bytes=32 time=17ms TTL=57
- Ping statistics for 8.8.8.8:
- Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
- Approximate round trip times in milli-seconds:
- Minimum = 16ms, Maximum = 17ms, Average = 16ms
- cat >./foo.bar <<'EOL'
- t=$(ping 8.8.8.8)
- EOL
Add Comment
Please, Sign In to add comment