Update 'sh/edit.sh'
This commit is contained in:
parent
23bf3647e7
commit
cc9dfc6ced
|
@ -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 "# --------------------------------------------------------------------- #"
|
||||
|
|
Loading…
Reference in New Issue