https://github.com/giulioiannelli/ubuntu-scripts
A set of useful Linux shell scripts.
https://github.com/giulioiannelli/ubuntu-scripts
linux shell-scripts
Last synced: about 2 months ago
JSON representation
A set of useful Linux shell scripts.
- Host: GitHub
- URL: https://github.com/giulioiannelli/ubuntu-scripts
- Owner: giulioiannelli
- License: gpl-3.0
- Created: 2024-08-21T10:26:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T12:00:24.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T23:27:03.350Z (over 1 year ago)
- Topics: linux, shell-scripts
- Language: Makefile
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ubuntu-scripts
## installation
In order to install clone the git repo into your desired location (e.g. into `~/.local/scripts`)
```
git clone https://github.com/giulioiannelli/ubuntu-scripts.git ~/.local/scripts
```
Then `cd` into the scripts directory and run the `Makefile`
```
cd ~/.local/scripts
make
```
### symbolic links
The aforementioned procidure will also create all symbolic links into the default `BIN_DIR` path, i.e. `~/.local/bin`.
If the directory does not exists it will be created, but be sure that it is included in the `PATH`
environmental variable, otherwise it will not be possible to run scripts from terminal. To change
the default location simply run `make` with `BIN_DIR` set at will
```
make BIN_DIR=/my/fancy/path
```
## scripts
### stopwatch
This script measures the rime elapsed from the beginning of the execution. To stop and print the elapsed time write `stop`
and press `Enter`.