Backup Command Example

Learn the features of Bash scripts by considering an example.

We'll cover the following

Backup command

We need an example to consider Bash scripts’ features. Let’s write the command that creates a backup of our photos in the home directory. The command consists of two actions: archiving and copying.

Get hands-on with 1400+ tech skills courses.