O que 'bash -c' faz?

Eu segui o seguinte tutorial:http://davidtsadler.com/archives/2012/06/03/how-to-install-magento-on-ubuntu/

Em algum momento, ele me disse para executar o seguinte comando:

sudo bash -c "cat >> /etc/apache2/sites-available/magento-store.com <<EOF
<VirtualHost *:80>

  ServerName  localhost.magento-store.com
  ServerAlias www.localhost.magento-store.com

  DocumentRoot /home/dev/public_html/magento-store.com/public

  LogLevel warn
  ErrorLog  /home/dev/public_html/magento-store.com/log/error.log
  CustomLog /home/dev/public_html/magento-store.com/log/access.log combined

</VirtualHost>
EOF"

O que esse comando fez e como posso cancelar isso?

Eu reiniciei o computador e parece que ele ainda está em execução. Eu olhei.bashrc e.profile, mas não o encontrei por dentro.

questionAnswers(3)

yourAnswerToTheQuestion