What is keyserver in GPG?
The key server to which to send the keys is specified with the command-line option --keyserver. Similarly, the option --recv-keys is used to retrieve keys from a keyserver, but the option --recv-keys requires a key ID be used to specify the key.
How do I import a GPG secret key?
gpg --import without a filename should just import from STDIN. So type gpg --import and press Enter , paste your key and end it with a line consisting only of Ctrl + D and Enter (like with any program that reads from STDIN).
How do I delete all GPG keys?
First you should not delete keys you do no longer use or need, but revoke them first (that is revoke them locally first, then send the revoked key to a keyserver (unless you are sure it never was on any keyserver)). After having revoked you key that way, it is OK to delete it.