Thread: programming in Minix

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1

    programming in Minix

    Hello, i must do that but i dont know how. So if you so kind help me :-)

    "Create a new command for Minix, that will be called UNITE. UNITE command will make and show on screen,in a file the contests of two files, joining together. The syntax must be like this : unite filename1 filename2 filename3

    Filename1 and filename2 will be the names of the two joining files, and filename3 the file that will be produced.
    The command should work like this : File filename3 will contain data of the filename1+filename2 joining (with that order) and will show it on screen.

    The file that you create must be in /usr/src/commands/simple catalog with the name UNITE.C. Also you must modify the corresponding makefile."

    Sorry for my bad english

  2. #2
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    If this were my homework I'd look at the code for another command then try to find out how commands are processed by the OS. If you're using the operating systems: design and implementation book I would guess that's explained somewhere in there.
    silk.odyssey

  3. #3
    Registered User
    Join Date
    Jun 2004
    Posts
    277
    Quote Originally Posted by oracus
    Hello, i must do that but i dont know how. So if you so kind help me :-)

    "Create a new command for Minix, that will be called UNITE. UNITE command will make and show on screen,in a file the contests of two files, joining together. The syntax must be like this : unite filename1 filename2 filename3

    Filename1 and filename2 will be the names of the two joining files, and filename3 the file that will be produced.
    The command should work like this : File filename3 will contain data of the filename1+filename2 joining (with that order) and will show it on screen.

    The file that you create must be in /usr/src/commands/simple catalog with the name UNITE.C. Also you must modify the corresponding makefile."

    Sorry for my bad english
    Look for cat or dog.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. minix system call pls help for project
    By porvas in forum Linux Programming
    Replies: 2
    Last Post: 06-14-2009, 02:40 AM
  2. Minix and system calls!!!help!
    By squeezah in forum Linux Programming
    Replies: 24
    Last Post: 04-02-2008, 07:19 PM
  3. Assembly and C++
    By LoafOfBread34 in forum C++ Programming
    Replies: 14
    Last Post: 03-31-2008, 03:29 PM
  4. Access file's info in MINIX
    By Zuko in forum Linux Programming
    Replies: 3
    Last Post: 01-07-2008, 10:14 AM
  5. MINIX Help
    By Zuko in forum Linux Programming
    Replies: 6
    Last Post: 12-03-2007, 03:35 AM