how can i make a bash script to tell the script this:
i will tell the bash like:
#!/bin/bash
include /usr/local/serverinfo.txt or.sh
rsync -avz $location root@$host:/$location2
all of this $location, $host , $location2, to be entered in /usr/local/serverinfo.txt
how can i tell the bash script to get this infos from the file,
if i put them in the same file will work just perfect, however i whant it to be outside of the file, any ideea?
let me know, thanks.