Giant blob of minor changes
[dotfiles/.git] / scripts / onelineserver / test.sh
1 #!/bin/bash
2 #echo -e 'HTTP/1.1 200 OK\r\n'
3
4 #echo "************PRINT SOME TEXT***************\n"
5
6 echo "Hello World!!!" > hola.txt
7
8 #echo "\n"
9
10 echo "Resources:" >> hola.txt
11
12 grc --colour=on vmstat -S M >> hola.txt
13
14 #echo "\n"
15
16 echo "Addresses:" >> hola.txt
17
18 echo "$(grc --colour=on ip addr)" >> hola.txt
19
20 #echo "\n"
21
22 grc --colour=on ping -c 1 google.com >> hola.txt
23 cat hola.txt | ./ansi2html.sh > hola.html
24 echo "$(cat hola.html)"
25