All Projects → buckyroberts → Shell-Scripts

buckyroberts / Shell-Scripts

Licence: other
No description, website, or topics provided.

Programming Languages

shell
77523 projects
Vim Script
2826 projects

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>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].