###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
const double = x => x * 2; | |
const square = x => x * x; | |
const plus3 = x => x + 3; | |
const composedFunction = compose(double, square, plus3); | |
const result = composedFunction(2); | |
// result = 50 | |
// 2 (plus3) => 5 (square) => 25 (double) => 50 |
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing