remove file(s)
This post was written 8 years ago.
Fri, 03 Oct 2003
rm -f myfile
rm -f myfile*
(will remove a file or multiple files without prompting)
rm -R myfolder
(will remove folders)
This post was written 8 years ago, which in internet time is really, really old. This means that what is written above, and the links contained within, may now be obsolete, inaccurate or wildly out of context, so please bear that in mind :)
Comments
move back one directory
This post was written 8 years ago.
Fri, 03 Oct 2003
cd ..
This post was written 8 years ago, which in internet time is really, really old. This means that what is written above, and the links contained within, may now be obsolete, inaccurate or wildly out of context, so please bear that in mind :)
Comments
create mysql user
This post was written 8 years ago.
Fri, 03 Oct 2003
This post was written 8 years ago, which in internet time is really, really old. This means that what is written above, and the links contained within, may now be obsolete, inaccurate or wildly out of context, so please bear that in mind :)
Comments
forbidden access apache userdir
This post was written 8 years ago.
Thu, 02 Oct 2003
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:-
# chmod 755 /home/username/public_html
- stopping apache:-
# /etc/rc.d/init.d/httpd stop
- starting apache:-
# /etc/rc.d/init.d/httpd start
There are security implications for the above, but I won't go into it here
This post was written 8 years ago, which in internet time is really, really old. This means that what is written above, and the links contained within, may now be obsolete, inaccurate or wildly out of context, so please bear that in mind :)
Comments