Lab 4.2 in Audit a Web Server terminal prompt seems to be stuck/taking forever

For Instruction 3, it says “At the cybrary@ubuntu prompt, type sudo grep -A4 “var/www/” /etc/apache2/apache2.conf and press Enter. This command will look for the part of the Apache configuration file that enables or disables directory listing. If you see the keyword Indexes, then directory listing is enabled. If you see -Indexes (note the minus sign), then directory listing is disabled. A secure web server should disable directory listing.”

But nothing seems to occur in the terminal when I hit enter. Am I doing it correctly? am I missing something? is the answer supposed to take more than 20 minutes to load in the terminal?

Thanks.

You are missing a space: … “var/www” etc/apache2/apache2.conf

1 Like

i also need help with this lab. Anytime i try to type in a command its says command not found. I type it exactly but it says not found, i need some help. i gues the answer but i would like to make sure i can do this part. thank you

Can you show a screen shot of the command(s) you type and the error(s) shown?

Thanks, adding a space as indicated in the comment brings a response