How to copy files from your machine to a backup drive. And how to do it over a network.

How to use rsync to send files from your hard disk to a backup drive. This example will copy the files from a folder to a backup drive and the ipinfo folder will be created on your backup HDD. rsync -av Documents/ipinfo/ /media/jason/Seagate\ Expansion\ Drive/Linux/ipinfo/ sending incremental file list created directory /media/jason/Seagate Expansion Drive/Linux/ipinforsync -av … Read more

How to use scp to download files from a remote machine over a secure encrypted connection.

This is the sample command I am using to download my OpenVPN keys from a remote VPN server to allow me to setup a local connection. And to backup the keys safely. [1]homer@deusexmachina ~ $ scp -i Goku.pem -P 443 [email protected]:/home/ubuntu/easy-rsa/keys/*.* /home/homer/vpn/ 01.pem 100% 5589 5.5KB/s 00:00 ca.crt 100% 1736 1.7KB/s 00:00 ca.key 100% 1704 … Read more

How to take a screenshot of a Linux desktop over SSH.

To take a screenshot of a Linux desktop over SSH; firstly you must set the DISPLAY environment variable. homer@deusexmachina ~ $ export DISPLAY=:0homer@deusexmachina ~ $ export DISPLAY=:0 Then use scrot to capture a screenshot of the desktop to a file. homer@deusexmachina ~ $ scrot :0 my.jpeghomer@deusexmachina ~ $ scrot :0 my.jpeg Since I am using … Read more