Recently I was setting up another computer and I wanted to set it up the same as my current machine and I wanted to send a list of my packages installed and didn't want to send and email, Facebook message, or open GoogleDrive, so I did some research.
ip address show | grep -i inet
"ip address show" is a way to find the ip address of a computer, and then piping it to grep and filtering down to strings containing inet cuts down some of the noise.
nc -l 55555
Explain shell for this
This starts netcat in listen mode for the port 55555.
nc <ipaddress_of_first_computer> 55555
This opens netcat to the other computer.
Type some information in one of the terminals and press enter and it will show in the other terminal.
pacman -Qqe > pkglist.txt
pacman -S - < pkglist.txt
Will install packages from a list.