Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akyoto/sugoi
:wrench: Mini tools for Linux.
https://github.com/akyoto/sugoi
linux shell toolkit
Last synced: 3 months ago
JSON representation
:wrench: Mini tools for Linux.
- Host: GitHub
- URL: https://github.com/akyoto/sugoi
- Owner: akyoto
- Created: 2015-03-17T10:17:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T03:20:47.000Z (almost 6 years ago)
- Last Synced: 2024-05-21T03:57:32.851Z (9 months ago)
- Topics: linux, shell, toolkit
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sugoi
Swiss army knife for linux.
## Installation
```shell
./sugoi install sugoi
```Add `alias s='sugoi'` in your `.bash_aliases` for more awesomeness.
## Usage
```
~$ s
Commands:
addKeyToServer
blockPort
clearFirewall
cpu
cpuUsage
diskUsage
disks
downloadFromServer
freeMemory
help
install
ls
memory
memoryUsage
os
processCount
push
redirectPort
stats
tcp
tcpCount
tune
udp
udpCount
update
upgrade
uptime
usage
```## Examples
### git add + git commit + git push
```shell
~$ s push "Changed some stuff"
```
I personally use `alias sp='sugoi push'` to type it even faster.### Add SSH key to remote server
```shell
~$ s addKeyToServer [email protected]
```Enables SSH auto-login for the specified server. Key needs to be stored in `~/.ssh/id_rsa.pub`.
### Download file from server
```shell
~$ s downloadFromServer [email protected] /home/admin/database.dat
```Downloads starts instantaneously if you added your SSH key to the server.
### Redirect port
```shell
~$ s redirectPort 80 4000
~$ s redirectPort 443 4001
```### Block a port
```shell
~$ s blockport 3000
```### Clear firewall rules
```shell
~$ s clearFirewall
```### Show resource usage
```shell
~$ s usage
CPU usage: 3%
Memory usage: 34%
Disk usage: 73%
```