Recent changes to do-release-upgrade

This is a recent email to the ubuntu-devel mailing list that describes not only recent changes to the do-release-upgrade process, but how it works in general. It is also posted here.

If you are unaccustomed to the command-line…first of all, you should learn the command line. But for now, the do-release-upgrade utility is used to upgrade from one Ubuntu release to another. The graphical desktop utility utilizes this as well.
Read more

Create strong passwords

At a recent #ubuntu-us-az meeting, this url was posted as an easy way to generate a password. I kinda liked option 4 which uses perl, available in most Linux distros. Should you not have it, apt-get install perl will install it.

#!/usr/bin/perl
#
# REF https://www.ostechnix.com/4-easy-ways-to-generate-a-strong-password-in-linux/
# save as pw.pl
#
my @alphanumeric = (‘a’..’z’, ‘A’..’Z’, 0..9);
my $randpassword = join ”, map $alphanumeric[rand @alphanumeric], 0..7;
print “$randpassword\n”

The code is simple, it creates an array with all the upper, lowercase, and numeric characters. You could add special characters into that array if you want. The [rand @array] generates a random number between 0 and the length of the array, the map $array maps the random number to the random-th element of the array, the join function will join those characters together and it will repeat this 8 times, 0..7

Executing perl pw.pl a few times will help the randomless of the generated password.

Measure your Internet Speed

Based on a recent Slashdot post, here’s a simple way to measure your Internet speed. The project is on GitHub at https://github.com/sivel/speedtest-cli, and to get the Python-based program, simply do this:

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
Execute ./speedtest-cli –simple to get your results.
See ./speedtest-cli –help for details.

You can also try an HTML5 (no flash, no Java needed) Internet Speed test, http://speedof.me/

Hope this helps.