Yesterday I decided to give PC-BSD a try in my classroom. It was probably not the best day to try out PC-BSD since the electricity kept cutting off. My students were struggling to SSH from PCLinuxOS to my laptop, which was running PC-BSD, as a result.
The goal of the class was for my students to create their own website templates on my laptop (makes it easier for me to grade their projects from my laptop 🙂 ). Most of them were successful though all preferred doing their projects in Linux, that is what they told me. The bash shell in PCLinuxOS, according to them, was easier since it told them which directory they were in. In short, they got used to seeing $ /usr/home/guest/Desktop in PCLinuxOS while in PC-BSD, they only saw $. pwd I kept telling them 🙂
Today, I moved everything over to my openSUSE laptop. Got to have a little more fun with my students.
(PC-BSD on the overhead so my students can “visually” see that they added their folders)
Fifty-five of my students can use PCLinuxOS, openSUSE Linux and PC-BSD now, three of them can use OSX, and one of them likes Ubuntu. Several really want me to use Sabayon Linux in class.
Wish I had a teacher use FOSS in my school, especially a flavour of *BSD.
Might as well guide your students towards the future as it should clearly be!
Please expose your students to as many different distros as possible, and even that unpleasant OS if possible.
That way, later they can make informed choices and take part in discussions in a knowledgeable manner.
Sounds like a great way to teach them. If I was younger I wouldn’t mind being in your class, but in my day we were using punch cards, and I’m too old to go back o school!
“pwd I kept telling them”
Why didn’t you simply set up the “guest” account to display the current directory in the command prompt? Most common shells let you do this by setting “prompt”, “PS1”, etc.
You appear to have left them with the impression that what is really just a trivial difference in account setup is a fundamental difference between the two systems.
***Why is there no Preview button?***
Mmm, how about
export PS1=”\w> ”
?
I’m a OpenBSD fan, and continually impressed with the quality of the documentation. The interesting thing about OpenBSD is that, while it’s easy to install, keeping up with security patches requires use of cvs, recompilation, and the ability to follow instructions. (See ‘man release’.) When you finish you feel quite the old-school administrator, competent in all the basics. You might want to take your students through an OpenBSD install, patch to the current stable release, and then upgrade and patch to stable again. (Which can be done all at once because OpenBSD keeps the latest and the next-to-latest releases supported and patched.) They’d learn quite a bit in the process.
Here’s the magic involved in making a cd, which is handy for patching machines that don’t have the compiler installed.
mkisofs -r -no-emul-boot -b 4.2/i386/cdbr -c boot.catalog -o myrelease_4_2.iso 4_2
I setup a set of scripts for Knoppix which allowed a machine to boot over the network — then each user get his own home directory (I guess one could also overlay the main filesystem so that each user gets a persistant root filesystem). That would allow each student to have his own system that he could play on without having to worry about stomping on someone else’s data, etc.
(my original script identifies machines by their MAC address so, as long as a student always sits at the same computer, their session would continue over time).
Would that help you?
I run BSD on a few of my machines.
Two changes that I like to make to my .cshrc file are;
setenv CLICOLOR true
(ls from the console lists directory names in blue, executables in red, symbolic links in purple, etc)
set prompt = “[%B%n%b@%m %c3]%% ”
This gives you a prompt of [USERNAME@HOSTNAME (followed by the current working directory)] %
Substitute the ending double % with a single $ if you so desire.
Your students will find command line work more enjoyable after making those changes.
Ehrm. While adding a new user, the admin has the choice to pick the preferred shell. And guess what: Bash is one of them 😉
very nice to see you are developing this, and widening these students’ experience. The more they see the better their own choices will be.