Create addalias.sh
This commit is contained in:
parent
92528ce2d8
commit
ca8fdbb53b
6
addalias.sh
Normal file
6
addalias.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
echo "Which command do you want to use as alias?"
|
||||||
|
read alias
|
||||||
|
echo "Which command should your alias execute?"
|
||||||
|
read command
|
||||||
|
echo $alias="command" | tee -a ~/.bashrc
|
||||||
|
echo Alias $alias added
|
Loading…
Reference in New Issue
Block a user