Small index of commands useful for combining in pipelines:
- ls - list directory contents
- cp - copy files and directories
- mv - move (rename) files
- rm - remove files or directories
- find - search for files in a directory hierarchy
- cat - concatenate files and print on the standard output
- more - file perusal filter for crt viewing
- less - opposite of more (quit with 'q')
- cd - Change the current directory to DIR. (use "help cd" instead of "man cd")
- mkdir - make directories
- rmdir - remove empty directories
Problems found during the lesson:
- grep, egrep, fgrep, rgrep - print lines matching a pattern
- tail - output the last part of files
- head - output the first part of files
- sort - sort lines of text files
- uniq - report or omit repeated lines
- sed - stream editor
- wc - print the number of newlines, words, and bytes in files
Lots of bugs to report when I come home: from here it'll take ages, and lots of money on the hotel internet connection, and some are Ubuntu-specific so I'd need to do everything online with Malone. As usual, teaching is one of the best ways to find bugs. I propose an Etch training session a month before release. Other things to do:
You set the system default locale to Amharic, and the gdm login will be in Amharic input mode. We didn't find out how to switch it back to input roman characters. Right click on the input field to set the input method doesn't work. Since usernames are not in Amharic, you're locked out.
So you CTRL+ALT+F1, login and try dpkg-reconfigure locales. On Ubuntu Dapper, it does not work anymore.
So you dig and dig and dig and finally find that you can force a locale in /etc/default/gdm (but not in /etc/gdm/locale.conf, nor in /etc/gdm/gdm.conf).
Then the internet works for a bit and you look up how to reconfigure locales in Ubuntu. Turns out you have to use localeconf, which is not installed by default, is not in universe and thus not on the CDs, and needs to be downloaded from the Internet.
The Ubuntu wiki is all on https, which defeats any attempt of proxy caching.
An Internet proxy needs to be configured 3 times: in Gnome, in Firefox and in Synaptic (well, apt). This is especially tricky when you forgot to setup the proxy in Synaptic and seemingly unrelated applications fail, like the Ubuntu language selector, which internally invokes the package manager to download missing langpacks.
Some short descriptions in the NAME section of manpages are hard to understand, or wrong. Noted on apt-get, apt-cache and less. Top prize goes to apt-cache:
NAME apt-cache - APT package handling utility -- cache manipulator DESCRIPTION [...] apt-cache does not manipulate the state of the system but does provide operations to search and generate interesting output from the package metadata. [...]So apt-cache is a manipulator that doesn't manipulate. A possible improvement can be "query the APT package cache".The language selector in Ubuntu Breezy doesn't really exit and keeps the package database locked. This seems to be fixed in Dapper, and probably had been fixed in some Breezy update. System updates here are a problem: my Dapper (with some Universe things in it) wanted to download more than 120Mb of data, and the Uni network was giving me 14Kbps. It's been a nice opportunity to teach about fuser -uva and kill.
dict, squid and many other packages from 'main' are not on the normal Ubuntu CDs: is there an easy way to build a CD with them? Or do Ubuntu CDs with extra packages already exist? I'll have to find out.
cupsys has documentation outside of /usr/share/doc, in /usr/share/cups/doc-root.
man works on all commands, except cd, which is an internal shell command and thus needs help instead of man. I should remember to ponder about autogenerating manpages from help output.
Is there an index-like manpage with a list of the core Unix commands and their short descriptions? It there's not, it's easy to generate:
#!/bin/sh DIR=$ 1:-"/bin" ( find $DIR while read FILE do if [ -x $FILE ] && ! [ -d $FILE ] then LANG=C COLUMNS=2000 man basename $FILE \ grep ^SYNOPSIS -B 100 grep ^NAME -A 100 \ tail -n +2 head -n +2 \ grep -v '^[ \t]*$' fi done ) sort uniq sed 's/^ \+//'Try running it on /bin and /sbin: it's great!. Also, since it doesn't redirect stderr, it nicely exposes a number of manpage problems.
flow.c before, but have yet to actually look inside it. Their talk has disuaded me even more.
The last thing that sticks in my mind is the GDB talk, which seemed to be the only toolchain talk this year. But these things wax and wane.
I skipped out on the afterparty this year, which meant that I couldn't help with the monumental challenge that awaits us after each summit. But I shall return.
Much that I bound I could not free Much that I freed returned to me (I didn't manage to transcribe the attribution)And this one for Bubulle, about translation:
When you speak to me in my language you speak to my heart when you speak to me in English you speak to my head (sb.)Incomplete list of questions I've been asked, in bogosort -n order:
I'm happy to find that we've been successful in building more and more good answers for these questions.
- How do I get support?
- Are the configuration files always the same accross different distributions?
- What is the level of interoperatibility between the various Linux distributions? And between different Unix-like systems?
- Does plug and play work well when I change hardware?
- Can I access NTFS partitions?
- How do I play multimedia files in restricted formats?
- I heard that NFS has security problems: can it be secured, or are there other file sharing alternatives?
- Can I access a desktop remotely?
- Can I install Linux on a computer where there's Windows already? Do I need to partition?
- Can I be sure to find drivers for my hardware?
sysrqd 4094/tcp sysrq daemonI will release a new version today using these ports.
sysrqd 4094/udp sysrq daemon
My father visited me for a few days in the middle of June, and between the two of us we managed to pack up most of the old place. Father also disassembled my furniture, and we moved most of the pieces over.
My mother then visited me on the Juhannus weekend. Neither of us have a car, so we moved a lot of stuff by sheer muscle power. She also installed the curtains that she had brought for me from her storage, and reassembled most of the furniture.
The last week of June I spent moving stuff by muscle power, but it wasn’t enough, so Mother came back on June 30, helping cleaning up the old place, and Father visited again with a car and helped move the rest of my stuff. Mother also installed more curtains: in the following picture, she is sowing the curtains to make them be of the correct length:
So, thanks to my parents’ immense help, I now have a hugely nice studio apartment:
If you haven’t seen this, go and burn an ISO of the daily snapshot for your architecture and boot into it. (I won’t even elaborate on the fact that being able to choose from 11 different architectures is massively impressive.) What a beautiful interface, and how amazingly tasteful as far as look-and-feel. It’s very professional-looking, yet not corporate. There’s a button to capture snapshots of the install screens right there on each screen. It may take a minute or two to adjust to having the right line in the display highlighted before clicking the button to continue in more-complex screens, but the annoyance is neglible. I was thoroughly impressed, so much so that I wiped my backup laptop, a ThinkPad T42, and did a reinstall using the graphical interface. You can still pop over to the other virtual terminals just like in the character-based installer; the graphical interface seems to use the fifth virtual terminal. I just popped out of it to the second via Ctrl + Alt + 2 and was able to mount a USB drive with some firmware I needed.
I wiped the T42 so I could run the IBM recovery and get XP back on a small partition. Hey, how else am I going to play Warcraft III? (Seriously, though, if anyone has managed to get Warcraft III to run via an emulator, let’s talk.) I found it a study in contrasts, installing XP and then installing Debian immediately after. The first thing I noticed with XP is how little visibility I have into the install process compared to the Debian installer. I suppose I shouldn’t have to since all these vendors have supposedly ensured (stifling audible laughter here) a smooth installation process for me. However, when something does go wrong, I am pretty much out of luck. Second, I have come to take for granted how quickly you can fully provision an OS instance with Debian’s rich package-management system. The benefits of an awesome package management system are painfully obvious as soon as you have to reinstall Windows or OS X, especially if you are a software developer with a whole litany of tools necessary for your work.
A graphical installer was the last major impediment to me recommending Debian to my friends and relatives who are too befuddled by a character-based application or installer. This closes a significant gap in the Debian offering, and I wish to sincerely thank those who have poured so much time into the installer project as a whole and have gone the extra distance to create an interface that reaches out to the less-technically-oriented crowd.
Next.