https://github.com/maskalix/cmnds
Simple commands to ease using Linux server
https://github.com/maskalix/cmnds
command-line docker docker-compose linux linux-shell script shell-script shell-scripts ubuntu
Last synced: 10 months ago
JSON representation
Simple commands to ease using Linux server
- Host: GitHub
- URL: https://github.com/maskalix/cmnds
- Owner: maskalix
- Created: 2024-02-27T22:00:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-20T18:45:10.000Z (over 1 year ago)
- Last Synced: 2024-10-21T09:46:53.217Z (over 1 year ago)
- Topics: command-line, docker, docker-compose, linux, linux-shell, script, shell-script, shell-scripts, ubuntu
- Language: Shell
- Homepage: https://skali.eu
- Size: 563 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CMNDS - Simple commands to ease using Linux server
```
______ __ ___ _ __ ____ _____
/ ____// |/ // | / // __ \/ ___/
/ / / /|_/ // |/ // / / /\__ \
/ /___ / / / // /| // /_/ /___/ /
\____//_/ /_//_/ |_//_____//____/
Simple commands to ease using Linux server
```
# IMPORTANT
- always read /scripts/README.md, where are important informations about usage of each command etc.
- i don't plan to make cmnds available to be installed from any package manager such as apt
- script can overwrite some of your commands - USE AT OWN RISK
- asking for feature? => create an issue
- cmnds "installs" itself into PATH, after removing it (simply just remove all it's folders - will automate it in the future) clean its record here too
## Installation
- Option 1: download install.sh and run it
- **Option 2 (recommended)**:
```bash
mkdir $HOME/cmnds-temp && wget --no-cache -q https://raw.githubusercontent.com/maskalix/cmnds/main/install.sh -P $HOME/cmnds-temp && chmod +x $HOME/cmnds-temp/install.sh && $HOME/cmnds-temp/install.sh && rm $HOME/cmnds-temp/install.sh
```
- Option 3 (old):
```bash
wget --no-cache https://raw.githubusercontent.com/maskalix/cmnds/main/install.sh && chmod +x install.sh && ./install.sh && rm install.sh
```
## Using
### For base-user (non-root)
1. run `sudo su && cmnds-nonroot`
2. same as root
### For root
1. using command `cmnds -d` choose what scripts you want to enable *[(**c**)hoose/(**d**)isable all/(**e**)nable all]*
- remember to put asterisk to deploy too, if you want to use it
## List of commands
/scripts/README.md
## Updating
- run `cmnds -u` and proceed in installation
## Custom commands
- feel free to add own commands into the root folder of CMNDS or into subdirectory
- it must be in .sh format, then it will be registered by `cmnds -d` command
- THEY WILL BE OVERWRITTEN BY UPDATING CMNDS!
- i also recommend checking out my other repository with random scripts (mainly for Debian-based distros)
- https://github.com/maskalix/commands-pile
## Command not found
- option 1
- run `source ~/.bashrc`, sometimes more than once :/
- option 2
- close and reconnect to SSH
---
© Martin Skalicky 2025