# By default, each destination (name of new link) should not already exist
ln -s /home/user/project /var/www/html
# The link will be created inside /var/www/html having the name of the target i.e. project.
# If you want to have a symlink /var/www/html pointing to /home/user/project then you should not have the directory html present beforehand. So, you should only have /var/www and then running the following will create the desired symlink (don't do this unless you are sure)
set -eu -o pipefail # fail on error and report it, debug all lines
sudo -n true
test $? -eq 0 || exit 1 "you should have sudo privilege to run this script"
echo installing the must-have pre-requisites
while read -r p ; do sudo apt-get install -y $p ; done < <(cat << "EOF"
echo installing the nice-to-have pre-requisites
echo you have 5 seconds to proceed ...
echo hit Ctrl+C to quit
echo -e "\n"
sudo apt-get install -y tig