Skip to content

Instantly share code, notes, and snippets.

View rajithwijepura's full-sized avatar

Rajith WIjepura rajithwijepura

View GitHub Profile
@rajithwijepura
rajithwijepura / scp run in the background
Last active December 15, 2021 08:23 — forked from CreatorB/scp run in the background
How to put scp in background
#!/bin/bash
nohup scp file_to_copy user@server:/path/to/copy/the/file > nohup.out 2>&1
# Ctrl + Z
bg
jobs