https://github.com/j3soon/linux-scripts
My Linux Scripts
https://github.com/j3soon/linux-scripts
linux shell-script
Last synced: 4 months ago
JSON representation
My Linux Scripts
- Host: GitHub
- URL: https://github.com/j3soon/linux-scripts
- Owner: j3soon
- Created: 2020-07-27T17:54:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T15:27:44.000Z (11 months ago)
- Last Synced: 2025-03-26T14:55:51.536Z (10 months ago)
- Topics: linux, shell-script
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux Scripts
[](https://github.com/j3soon/linux-scripts/actions/workflows/main.yml)
Most of the scripts are only tested on Ubuntu, and may require changes when running on other distros.
## Run Once
You can run individual scripts by `curl`.
Take `init-ubuntu` as an example:
```sh
sudo apt-get update
sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/init-ubuntu.sh)"
```
## Clone the Repo
```sh
git clone https://github.com/j3soon/linux-scripts.git
cd linux-scripts
```
## Installation
You can install the directory to `$PATH`:
```sh
# If using bash
./install-to-bashrc.sh
# If using zsh
./install-to-zshrc.sh
```
## Testing
Install [bats](https://github.com/sstephenson/bats).
```
./test.bats
# or bats test.bats
```