28 lines
787 B
Markdown
28 lines
787 B
Markdown
# Scripts for Generic Linux Shell Env.
|
|
|
|
**PUBLIC REPOSITORY**
|
|
|
|
Just some common scripts for all every Linux shells.
|
|
|
|
|
|
## Installation
|
|
|
|
To `/usr/local/shared-scripts`: (reecommended)
|
|
```bash
|
|
git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \
|
|
sudo mv ~/shared-scripts /usr/local/ && \
|
|
echo -e "\n# Shared Scripts:\n. /usr/local/shared-scripts/startup.sh \"/usr/local/shared-scripts\"" >> ~/.bashrc
|
|
```
|
|
|
|
Auto update (via Cron):
|
|
```
|
|
*/15 * * * * * git clone https://githive.duckdns.org/shared/scripts /usr/local/shared-scripts > /dev/null 2>&1
|
|
```
|
|
|
|
|
|
To `$HOME/shared-scripts`:
|
|
```bash
|
|
git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \
|
|
echo -e "\n# Shared Scripts\n. \$HOME/shared-scripts/startup.sh \"$HOME/shared-scripts\"" >> ~/.bashrc
|
|
```
|