diff --git a/sh/edit.sh b/sh/edit.sh index 725408c..b8bd202 100644 --- a/sh/edit.sh +++ b/sh/edit.sh @@ -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 "# --------------------------------------------------------------------- #"