https://github.com/softgeekro/sgs.bash-tweaks
Bash Toys for easy life
https://github.com/softgeekro/sgs.bash-tweaks
bash bashrc cli linux lscolors nano nanorc script shell
Last synced: 2 months ago
JSON representation
Bash Toys for easy life
- Host: GitHub
- URL: https://github.com/softgeekro/sgs.bash-tweaks
- Owner: SoftGeekRO
- License: gpl-3.0
- Created: 2019-05-06T04:44:08.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T06:08:20.000Z (about 2 years ago)
- Last Synced: 2025-03-02T08:44:43.565Z (over 1 year ago)
- Topics: bash, bashrc, cli, linux, lscolors, nano, nanorc, script, shell
- Language: Shell
- Homepage: https://www.sgsolar.ro
- Size: 453 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Bash tweaks commands
Some tweaks that will make work more easy for any bash purist or geeks
An `alias` means as the name suggests, we call something instead of something else.
# Contents :
- [Instalation](#-installation)
- [General purpose aliases](#general_purpose)
### 🔧 Installation
The installation is very simple.
```bash
git clone https://github.com/SoftGeekRO/sgs.bash-tweaks.git
cd sgs.bash-tweaks
sudo ./install.sh install
```
The installation will create a *sgs/sgs.bash-tweaks* folder inside the */user/share/* folder.
The **sgs** folder is used to keep all the SoftGeek applications contain in a single folder.
### general_purpose
```shell
# clear screen in terminal
alias c='clear'
```
```shell
# change directory aliases
alias home='cd ~'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
```
```shell
# shutdown aliases
alias off="sudo shutdown now"
alias ss="sudo shutdown -r now"
alias sf="sudo shutdown -r -n now"
```
More alias and commands are available inside the lib files.
### 🌍 Contributions
Contributions of all forms are welcome :)
## 🗒 License
This Ansible role is licensed under the GNU General Public License, version 3 (GPLv3).
## 👀 Author
**Zaharia Constantin**
[View my GitHub profile 💡](https://github.com/soulraven)
[SoftGeek Company Profile](https://github.com/SoftGeekRO)