-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTngInstaller
28 lines (27 loc) · 962 Bytes
/
TngInstaller
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
#welcome to tng
#[tng] is linux CLI-App That Make you Sing your first Line's code
echo " HI this is Tng installer.Just Know You Have To Run TngInstaller In Root User"
echo -e "\033[91m [Press Enter To Continue...] \033[0m"
read -n1
echo " And You Have Use it In Root User"
echo -e "\033[91m [Press Enter To Continue...] \033[0m"
read -n1
echo " Please Enter The Name Of Editor That You Use"
read -p "Editor Name: " editor
echo
echo " OK!!! Yor Editor Is ${editor} Now Enter Your Name:"
read -p "Name: " name
echo " ${name} Done"
echo "Your Comment Gonna Write With Your special File Extension"
cat srcc.txt
echo -e "\033[91m [If You Understand Press Enter To Continue...] \033[0m"
read -n1
mkdir /etc/tng/
touch /etc/tng/e.zngdm
touch /etc/tng/n.zngdm
echo "$editor" >"/etc/tng/e.zngdm"
echo "$name" >"/etc/tng/n.zngdm"
echo -e "\033[91m [the information copied...] \033[0m"
mv tng /bin/
echo "TNG Is Ready TO Use type = tng file.extention"