An open API service indexing awesome lists of open source software.

https://github.com/gr455/permalias

Add an alias to bash with one command
https://github.com/gr455/permalias

Last synced: 27 days ago
JSON representation

Add an alias to bash with one command

Awesome Lists containing this project

README

          

# permalias
Add an alias to bash permanently with one command

# Usage

1. Copy the script to /bin/ directory (sudo required for the copy)

`sudo cp permalias /bin/permalias`

2. Run

`permalias `

# Examples

1. `permalias doc docker-compose`

2. `permalias hello "echo 'hello world'"`

3. `permalias hello "echo 'hello world'" grass` (if I want to add the alias for 'grass' user)