Simple aliases available in bash
The usage is very simple.
Just download and run the myalias.sh
.
For example,
-
Use
curl
to download, and runmyalias.sh
curl -o myalias.sh https://raw.githubusercontent.com/hmasdev/my-bash-alias/main/myalias.sh && . ./myalias.sh
-
Use
git
to download the scriptgit clone https://github.com/hmasdev/my-bash-alias.git && cd my-bash-alias && . ./myalias.sh
If you want to use permanently the aliases in myalias.sh
,
download the myalias.sh
and add its content to ~/.bashrc
.
curl https://raw.githubusercontent.com/hmasdev/my-bash-alias/main/myalias.sh >> ~/.bashrc
Be sure to use >>
!