---
title: "Discussion on \"Shell Script - Intermediate\" | Hashnode"
description: "Discussion on \"Shell Script - Intermediate\". Backup Script\n\nCrete Backup directory: mkdir /backups\n\nCreate a Backup script vi backupscript.sh\n\n\n#!/bin/bash\n#Directory of which you need to takebackup src_dir=/home/user1/scripts\n#Directory where the backup will be placed.tgt_dir=/backups\n#Storing..."
url: "https://hashnode.com/posts/shell-script-intermediate/644d58aa9dda5f3bfc24c513"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Shell Script - Intermediate](https://cloud-devops.hashnode.dev/shell-script-intermediate?utm_source=hashnode&utm_medium=feed)

Backup Script Crete Backup directory: mkdir /backups Create a Backup script vi backupscript.sh #!/bin/bash #Directory of which you need to takebackup src\_dir=/home/user1/scripts #Directory where the backup will be placed.tgt\_dir=/backups #Storing...

Apr 29, 2023 · 1 min read · cloud-devops.hashnode.dev  
Read the article

## Written by

[Ketan Gharate](https://hashnode.com/@KetanG)

@KetanG

  
[View profile](https://hashnode.com/@KetanG)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
