curl http://myip.dnsomatic.com
screen
allows, banally, to run a command and then close the remote connection while keeping the monster working for you.
- create a screen session
screen -S name-of-the-screen
- exit a screen session with the keyboard combination
| ctrl
+ a
then d
- you can create multiple screen session, to list the working screen sessions
screen -ls
- log in a specific screen session
screen -r name-of-the-screen
- terminate a screen session while in it
exit
- how to know if you are already in a screen session
echo $STY
- rename screen session
ctrl
+a
thenA
- discover more screen options
ctrl
+a
then?
- move around a directory recursively (in the example, from the labMonster to local computer)
scp -r [email protected]:/path/to/remote/source /path/to/local/destination