scriptfordummies/addalias.sh
2023-01-20 11:05:52 +01:00

7 lines
188 B
Bash

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