https://github.com/oresoftware/public-bash-utils
https://github.com/oresoftware/public-bash-utils
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/oresoftware/public-bash-utils
- Owner: ORESoftware
- Created: 2019-06-27T00:11:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-23T02:35:15.000Z (about 6 years ago)
- Last Synced: 2023-03-02T00:26:07.667Z (about 3 years ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# public-bash-utils
### How to use
```bash
#!/usr/bin/env bash
set -e;
name='entity-tools'
(
curl 'https://raw.githubusercontent.com/oresoftware/public-bash-utils/master/install.sh' | bash
) &
source "$HOME/.oresoftware/bash/public-bash-utils.sh"
docker run -d -p '80:8080' --name "$name" "$name"
docker logs -f "$name" 2> >(tailing 'stderr') 1> >(tailing 'stdout')
```
if you are on bash version 4+, you can use:
```bash
source <(curl 'https://raw.githubusercontent.com/oresoftware/public-bash-utils/master/install.sh')
```