From ca8fdbb53be2c18926b228b99abea98d50a0752b Mon Sep 17 00:00:00 2001 From: hxcde <30338980+hxcde@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:05:52 +0100 Subject: [PATCH] Create addalias.sh --- addalias.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 addalias.sh diff --git a/addalias.sh b/addalias.sh new file mode 100644 index 0000000..a69e52f --- /dev/null +++ b/addalias.sh @@ -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