Tag Archives: bash

Display download progress

Occasionally I want to display a user-friendly progress bar when doing something in a script, usually downloading a file.

Posted in Linux | Tagged | Leave a comment

Press Any Key to Continue…

Just to remind myself this one liner that does exactly what it says on the tin!

Posted in Linux | Tagged | Leave a comment

Installing updates from behind a firewall

If you are behind a web-proxy then installing packages or updating your system requires that the environment variable http_proxy is defined first – this then tells the system to use a web-proxy. The only problem is that you need to … Continue reading

Posted in CentOS, Debian, Linux, Programming, Raspbian, RedHat, Ubuntu | Tagged , , | Leave a comment

Compairing version numbers

There are differences between versions of some of the relatively common utilities that occasionally make it necessary to check which version is installed in a script, but comparing version numbers in a script is quite hard – fortunately if you … Continue reading

Posted in Debian, Raspbian, Ubuntu | Tagged , | Leave a comment

Reconfiguring locales

Recently when rebuilding on of my machines I encountered and error when I tried to install X windows.

Posted in Debian, Linux | Tagged , | Leave a comment