Skip to content

SoftGeekRO/sgs.bash-tweaks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

🔧 Installation

The installation is very simple.

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

# clear screen in terminal
alias c='clear'
# change directory aliases
alias home='cd ~'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
# shoutdown 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 💡

SoftGeek Company Profile