Skip to content

Instantly share code, notes, and snippets.

@vector623
Created March 20, 2018 19:54
Show Gist options
  • Save vector623/db256eb9201da265dd66e8af41f73cca to your computer and use it in GitHub Desktop.
Save vector623/db256eb9201da265dd66e8af41f73cca to your computer and use it in GitHub Desktop.
Simple script to migrate configuration from one host to the next
scp root@oldhost:/root/.bash_history /tmp/migrate.sh
sudo sh /tmp/migrate.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment