Skip to content

buckyroberts/Shell-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shell Scripts

Create script to download and run remote shell scripts:

sudo vim /usr/local/bin/download_and_run.sh

Script:

#!/bin/bash
 
wget -q -O temp.sh $1
chmod u+w temp.sh
bash temp.sh
rm temp.sh

Set permission to execute:

sudo chmod u+w /usr/local/bin/download_and_run.sh

To use:

sudo bash download_and_run.sh <REMOTE_SCRIPT>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published