I am using Ubuntu 10.10.
I am generally good with computers but mostly with Windows, I'm not very familiar with Ubuntu. I'm trying to setup a website and I'm talking with a friend I have who works for a school IT department who is giving me advice.
He told me that I need to open a command-prompt and type in sudo /etc/init.d/apache2 start but when I do all I see is sudo: /etc/init.d/apache2: command not found.
I told my friend the error and he said that my file /dev/null was full, so I tried to find it but it's a hidden file. I know how to view hidden files in Windows but not in Ubuntu.
My friend is offline now so I'm hoping someone can tell me how to delete my /dev/null? Thanks!
sudo service apache2 startorsudo service httpd startto start Apache instead of calling the init.d script directly. – Ian C. Feb 07 '11 at 15:51/dev/nullis empty:wc /dev/null. You should get all zeros (which is coincidentally the amount of attention you should pay to what your "friend" says). To empty/dev/null:cat /dev/null /dev/null[ OK, just kidding about that last one. ;) ] – Dennis Williamson Feb 07 '11 at 15:53