net prog1-funcmd-4
TRANSCRIPT
Technical Foundation of Computer Science 5
Network Programming I
Maria Sawaby
Department of Communication and Operating System
March 1, 2015
Net-Dep (Network) Net-Prog I March 1, 2015 1 / 16
Contents
1 Fun side of linux
2 Summary
Net-Dep (Network) Net-Prog I March 1, 2015 2 / 16
some fun commands
Command: sl (Steam Locomotive)
$sudo apt-get install sl
$sl
Net-Dep (Network) Net-Prog I March 1, 2015 3 / 16
some fun commands
command telnet$telnet towel.blinkenlights.nl
starwar
Net-Dep (Network) Net-Prog I March 1, 2015 4 / 16
some fun commands
command fortune
$sudo apt-get install fortune
$fortune
Net-Dep (Network) Net-Prog I March 1, 2015 5 / 16
some fun commands
Command: rev (Reverse)
$rev
Net-Dep (Network) Net-Prog I March 1, 2015 6 / 16
some fun commands
Command: factor
Time for some Mathematics, this command output all the possiblefactors of a given number
Net-Dep (Network) Net-Prog I March 1, 2015 7 / 16
some fun commands
Command: cowsay
$apt-get install cowsay
$cowsay I love bash
Net-Dep (Network) Net-Prog I March 1, 2015 8 / 16
some fun commands
How about pipelineing 'fortune command', described above withcowsay?
$fortune | cowsay
Net-Dep (Network) Net-Prog I March 1, 2015 9 / 16
some fun commands
command: xcowsay
$sudo apt-get install xcowsay
$xcowsay I love bash
Net-Dep (Network) Net-Prog I March 1, 2015 10 / 16
some fun commands
command: yes
$yes learn how to learn
Net-Dep (Network) Net-Prog I March 1, 2015 11 / 16
some fun commands
command: toilet
$sudo apt-get install toilet
$toilet google
work on its color and font
$toilet -f mono12 -F metal google
Net-Dep (Network) Net-Prog I March 1, 2015 12 / 16
some fun commands
it can be exported as html �le
$toilet -f mono12 -F metal -E html google
Net-Dep (Network) Net-Prog I March 1, 2015 13 / 16
some fun commands
command: cmatrix
$sudo apt-get install cmatrix
$cmatrix
Net-Dep (Network) Net-Prog I March 1, 2015 14 / 16
Net-Dep (Network) Net-Prog I March 1, 2015 15 / 16