How to setup proper directory indexing in Apache.

To get proper directory indexing set up in a directory in your Apache webserver configuration, firstly, create a .htaccess file and paste the code below into it. Options +Indexes   HeaderName HEADER.html ReadmeName FOOTER.html   IndexIgnore .htaccess .??* *~ *# HEADER* FOOTER* README* RCS CVS *,v *,t *.incOptions +Indexes HeaderName HEADER.html ReadmeName FOOTER.html IndexIgnore .htaccess … Read more

Deleting files on your Linux machine that have strange names. And how to use wildcards on the shell.

I ran a Perl script on my system that created a bunch of files on my computer named as shown below. I could have typed rm -f A* but that could have deleted other files that have a capital “A” as the first letter of the filename. That is where wildcards come into play. I … Read more

Listing the free space on your Linux system. And other useful Linux shell commands.

Listing the free space on your Linux system. Using the df command to list this on the command-line. The df command for Linux will display a listing of your partitions and how much space is available. The -H parameter shows the outputs in human readable formats. ubuntu@ubuntu:~/Documents$ df -Hla Filesystem Size Used Avail Use% Mounted … Read more