Month: October 2003

remove file(s)

rm -f myfilerm -f myfile* (will remove a file or multiple files without prompting) rm -R myfolder (will remove folders)

forbidden access apache userdir

After setting UserDir (in /etc/httpd/conf/httpd.conf) to use public_html (so that user accounts would have a website at servername/~username) I was getting a “forbidden” message when attempting to browse to the directory or files within it. Fixed by:- – setting permissions of user directory to 711:-# chmod 711 /home/username – setting permissions of public_html to 755:-#… Read more »