Minix Preparation Lab B
Unix Commands & Programming in SMX


Requirement:

In lab one, you have successfully installed SMX, and already have feelings about it. In this lab session, you are expected to get familiar with the commonly used Unix commands, and get to know how to compile programs in minix. That is, you are expected to finish two tasks:  

    (1) Get familiar with commonly used unix/smx commands
    (2) Writing simple programs (like "hello world" program) and compile/run it

For the first task: the commonly used unix commands like ls, cp, mv, mkdir, rm, passwd, ps, etc. Also you need to practice certain administrative tasks: add/delete user, etc. Notice that I am not going to cover the advanced topics such as shell programming. 

For the second task: you should start practice writing programs in SMX by small and simple programs like HelloWorld.c and see how it works. The purpose of it is just to help you have a general understanding of how to set up the environment, how to write programs in smx, how to compile it, and how to run it. 

After this lab session, you should be familiar with the smx environment, and will be prepared to write larger programs. 


Time & Location:

Time: 02/03/2005 (Thursday), 1:00pm~4:00pm (tentatively)
Location: Star Lab in CST 1-211


Helpful documents:

SMX -- The Solaris Port of Minix by Paul Ashton

Compile & Run Programs in SMX

Compiling programs in Minix 


Resources on Unix 

Unix Tutorial for Beginners
A Course in the Unix Operating System
The Unix Operating System
Commonly Used Unix Commands
Unix Commands Reference Card

Resources on text editors

vi editor
emacs editor
uemacs editor (This is the editor that will be used in minix)
mined editor (This is another editor that may be of help for you)
pico editor

Last updated: 02/01/2005