• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
The Minix3 Notes
--
Rahmat M. Samik-Ibrahim
--
http://rms46.vlsm.org/2/166.pdf
-- revision 09-04-30-05 --
1
(c) 2007-2009 All Rights Reversed, All Wrongs Corrected -- Permission is granted for whatever you can imagine!
The Minix3 Notes
http://rms46.vlsm.org/2/166.pdf
Rahmat M. Samik-Ibrahim
vLSM.org, Pamulang 15417, Banten
Table of Contents
Login and Logout....................................................................................................................................................2Some Useful Command Lines (Shell).....................................................................................................................2Check List 1............................................................................................................................................................3VI (a greate editor)..................................................................................................................................................4Check List 2............................................................................................................................................................5Installing Minix3 with a VMWare Player...............................................................................................................6Creating Your Own User Account..........................................................................................................................8Shutdown.................................................................................................................................................................8Adding more Minix3 Packages...............................................................................................................................9Recompiling the Minix3 Kernel............................................................................................................................10Check List 3...........................................................................................................................................................10Rsync on Minix3...................................................................................................................................................11Rsync on GNU/Linux............................................................................................................................................12Check List 4...........................................................................................................................................................13Backing Up Your Own Home Directory...............................................................................................................13Some Useful Functions..........................................................................................................................................14Some Examples.....................................................................................................................................................14Exercise 01: Process System Calls.......................................................................................................................15Exercise 02: Read/Write File................................................................................................................................16Exercise 03: PIPE.................................................................................................................................................17Exercise 04: Client and Server Programming......................................................................................................21Exercise 05: More Client/Server..........................................................................................................................24Exercise 06: Performance.....................................................................................................................................27Exercise 07: Disk Partitioning and Formating.....................................................................................................33FAP (Frequently Asked Problems)........................................................................................................................35Minix3 under Qemu..............................................................................................................................................36Minix3 Networking under Qemu..........................................................................................................................37References and URLs............................................................................................................................................37
 
The Minix3 Notes
--
Rahmat M. Samik-Ibrahim
--
http://rms46.vlsm.org/2/166.pdf
-- revision 09-04-30-05 --
2
(c) 2007-2009 All Rights Reversed, All Wrongs Corrected -- Permission is granted for whatever you can imagine!
Login and Logout
You might need a user account (
name 
and
password 
) to login into the GNU/Linux system. There aretoo many ways on how to login and logout. Please contact your system administrator and ask on howto get a ''shell prompt'' or Xterminal. After having access, familiarize yourself with some
commands 
and the ''
vi 
'' editor.
Some Useful Command Lines (Shell)
1.
man man
-- an interface to the on-line reference manuals.
2.
passwd
-- change (own) password.a)
passwd user
-- change the password of user ''user'' (root only)
3.
ls
-- list directory contents.a)
ls -al
-- long listb)
ls -alt
-- long list, sorted by modification timec)
ls -alS
-- long list (GNU/Linux only), sorted by file size
4.
cd directory
-- change to directorya)
cd
-- change to default/home directoryb)
pwd
-- show current directory
5.
Basic File Utilitiesa)
cp file1 file2
-- copy file1 to file2b)
rm file1
-- remove (delete) file1c)
mv file1 file2
-- move (change) file1 to file2d)
mkdir dir
-- make directory dire)
rmdir dir
-- remove directory dir
6.
More File Utilitiesa)
cat file
-- read a fileb)
more file
-- read a file per screen
 
The Minix3 Notes
--
Rahmat M. Samik-Ibrahim
--
http://rms46.vlsm.org/2/166.pdf
-- revision 09-04-30-05 --
3
(c) 2007-2009 All Rights Reversed, All Wrongs Corrected -- Permission is granted for whatever you can imagine!
c)
ln -s file sfile
-- make a symbolic link from file to sfiled)
grep aworld file
-- search string aword inside filee)
sort file
-- sort a file
7.
More Commandsa)
top
-- display systems taskb)
find / -name minix.iso -print
-- find file minix.iso from the root (/)c)
chmod 755 file
-- change file with access mode 755d)
chown user file
-- change owner file to usere)
chgrp other file
-- change group file to otherf)
tar
-- (tape) archive filesi.
tar cf /tmp/tarfile.tar directory/
-- archive ''directory/'' into tarfile.tarii.
tar tf /tmp/tarfile.tar
-- list archive tarfile.tariii.
tar xf /tmp/tarfile.tar
-- extract archive tarfile.tar
Check List 1
You should be familiar with some basic commands like:
(login/logout), man, passwd, ls, cd, pwd, cp, rm, mv, mkdir, rmdir, cat, more, ln, grep, sort, top, find, chmod, chown, chgrp, tar.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...