Update 'sh/edit.sh'

This commit is contained in:
Sarimoko 2022-01-31 00:37:26 +00:00
parent 23bf3647e7
commit cc9dfc6ced
1 changed files with 5 additions and 2 deletions

View File

@ -1,13 +1,16 @@
#!/bin/sh
echo "# ===================================================================== #"
echo "# Apache Config"
echo "# H E Y O / A p a c h e"
echo "# ===================================================================== #"
echo "# E X A M P L E"
echo "# Apache Config Editor"
echo "# ===================================================================== #"
echo "# /etc/apache2/sites-available/example.conf"
echo "# --------------------------------------------------------------------- #"
echo "# Type example NOT example.conf"
echo "# --------------------------------------------------------------------- #"
echo "# Available files in /etc/apache2/sites-available/*.conf"
sudo ls /etc/apache2/sites-available/*.conf
echo "# --------------------------------------------------------------------- #"
read -p "Enter filename: " apache_file
sudo nano /etc/apache2/sites-available/$apache_file.conf
echo "# --------------------------------------------------------------------- #"