Basics
How to prevent that a user deletes a file owned by root in his home directory
Even though a file is held by root and has 700 rights, if the root user saves it in another…
How to prevent a Linux system user from logging into the system
The shell setting in /etc/passwd determines whether a Linux system user may log in via the shell or over SSH.…
Get a list of all virtual hosts which are defined in all apache configuration files
Have you ever looked in the apache config files to see where a website's virtual host is defined? The apache2ctl…
Get the name of the newest file in a directory on the linux shell
If you have a directory with many files (a few thousand in my case) and need to know which one…