< Previous | Contents | Next >
1.2.1. Executing from a Terminal
The simplest way of executing the above backup script is to copy and paste the contents into a file. backup.sh
for example. The file must be made executable:
chmod u+x backup.sh
Then from a terminal prompt:
sudo ./backup.sh