Course pages 2011–12
First lecture: change of date
The first lecture of Unix Tools will take place on 25 October 2011, and not as originally planned on 27 October (same time and place though: 10:00, LT1). In exchange, the last lecture of Richard Clayton's Software Engineering course will move to 1 Nov (where originally the 2nd lecture of UnixTools was scheduled).
All in PDF for easy printing:
- Slides (2up, 4up)
- MATLAB slides (2up, 4up)
- Arthur Norman’s original course notes, slightly revised (available on paper at first lecture)
- GNU Bash-4.1 manual
- GNU Make-3.82 manual
- Perl-5.12.3 manual
- example solutions to exercises
and MATLAB exercises
[access limited to supervisors and (after end of course) students]
- Single UNIX Specification (shell command language, utility conventions, sh, make)
- GNU Tools Source Code: bash, coreutils, make, rcs
- Subversion manual
- Csh programming considered harmful – a periodic posting by Tom Christiansen to comp.unix.shell
- Related FAQs
- Perl documentation, Comprehensive Perl Archive Network (CPAN), Perl.com, Perl Mongers
- TeX Users Group, The UK TeX Archive (FAQ)
- MATLAB documentation
- Using Computer Laboratory MATLAB licences from home
Most of the tools discussed in the course can be explored and used on the PWF Linux installation in the Computer Laboratory’s Teaching Lab, which is currently a customized version of openSUSE Linux 11.2. However, due to home directories residing on a Novell server, PWF Linux has a few quirks and restrictions compared to a typical Unix or Linux system. Problems with PWF Linux should be reported to email@example.com [but feel free to cc to me (mgk25) as well].
Installing Unix/Linux on your own PC
I like to encourage students who own a PC and are interested in Unix to try out one of the various excellent freely or cheaply available Unix-like operating systems: Linux (Ubuntu/Kubuntu, SUSE/openSUSE, Debian, RedHat/CentOS/Fedora, Gentoo, Mandriva, Knoppix, etc.), FreeBSD, NetBSD, OpenBSD.
The following steps outline briefly, how to install openSUSE Linux on your PC. (The instructions and links are for openSUSE Linux 11.4, which the PWF uses in 2011–12, and should work similarly for future releases):
First make sure you have space for a generous new harddisk partition. While a minimal system can be installed in as little as 500 MB, partition sizes of at least 3 GB are recommended for a full-featured system. If your entire harddisk is already used by another operating system, you may want to reduce the size of an existing partition first. This can be done without reformatting, using tools such as PartitionMagic or GNU Parted.
Then there are three options for getting the software onto your PC:
Directly from the network:
- Go to the openSUSE download page, select installation medium: “Network”, download method: “Direct Link”, your type of computer (32-bit PC, 64-bit PC).
- If your PC is connected to the Cambridge University Data Network, then note the filename of the offered ISO image. Instead of downloading it from the provided link, get it from the local Computing Service mirror directory. Burning CD-Rs can be done using any CD writing application, on a Linux machine for example with with xcdroast, k3b, or the good old cdrecord. Alternatively, you can transform the ISO into a bootable USB stick.
- After having booted that CD or USB stick, configure your network
address and then configure as the “installation source medium” the
Computing Service server that stores the remaining installation files:
- protocol: NFS
- server name: nfs-uxsup.csx.cam.ac.uk
- directory: linux/opensuse/11.4/repo/oss
- To perform online updates after the initial installation is
complete, add in YaST as the Installation Source also the
local Computing Service mirror:
- protocol: HTTP
- server name: www-uxsup.csx.cam.ac.uk
- directory: pub/linux/opensuse/update/11.4
- More information can be found on the openSUSE download, Network installation and documentation pages.
Using the Computing Service as an installation source will not create network traffic outside Cambridge, for which your college would otherwise be charged. If you are not on the University network, use the regular download site.
From self-made DVD: Alternatively, you can burn yourself the full installation DVD from the ISO images mirrored by the Computing Service. There is also a (possibly not quite up to date) Installing openSUSE/SUSE/Novell Linux page there.
From borrowed medium: you may find that fellow students have already an installation medium that you can use.