Nano is a great little editor for when you need to tweak code from within a terminal window. It is not exactly robust though. You can deal with one little annoyance easily, though. To show what line number the cursor is on, use the command ‘nano – c‘, when initially opening the editor.Continue reading "How to show line numbers in Nano"
I have used this a bit to see what’s going on with Apache, when something goes wrong. If, while at your trusty Ubuntu command line, you type ‘tail -F’ and then a file name, it will sit there and show you additions to the file as they occur. This means that you could type ‘sudo …Continue reading "How to watch errors in Linux as they occur, using tail"
This is an easy one. By default, you can’t use ExpiresActive in Apache. You have to enable it. To enable it, use ‘sudo a2enmod expires’ and then ‘sudo /etc/init.d/apache2 restart’ to restart Apache. Easy as pie.Continue reading "So, you want to use ExpiresActive in Apache2?"