os1 - Лекциите На ФМИ
TRANSCRIPT
-
Os1 -
http://fmi.wikidot.com/os1[5/6/2012 4:28:52 PM]
Os1 Os1
/
: ! ,
// shell
process = task - file - I/O ( I/O , )directory () - - , system call PID - process identifierfork - system call (UNIX)clone (LINUX)
system functions - - system call - " " - -
- - ()
.= - , , ( , ); - ; - (preempt); preempt - = ! -
- - 1 (). ( );
, , : TC eBid -
www.TimoCom.com/TCeBid
Create account or Sign in
.wikidot.com Share on Join this siteEdit History Tags Source Explore
-
Os1 -
http://fmi.wikidot.com/os1[5/6/2012 4:28:52 PM]
UNIX, LINUX ( ! - ! )
- - , -1968 . - The System - ; , ( ! )
- - ; (MINIX, Mach)
UNIX
//
tty - ""( ); +
2. .
Shell - !:JCL (Job Control Language) - OS IBM / 360Bourne Shell (sh) - Unix version 7C shell (csh) - BSDKorn Shell (ksh) - Unix System VBourne again shell (bash) - LinuxCOMMAND.COM - Ms-DOS
JCL - " "( ) - , ; - " ", .. " " , !sh - csh - BSD- Unix ( ???); csh, ksh sh( ! )bash - sh, ksh
- = , = = = - shell script, shell file, , .= , = - ; shell ; ;
- = = - shell= - shell= = = = (copy, del)= ()
-
shell
while ( ){
-
Os1 -
http://fmi.wikidot.com/os1[5/6/2012 4:28:52 PM]
(prompt); ; ;}
shell login shell- .
= init - @start (, autoexec.bat), () -, = - ( ) user-sys login do logout ( )= (prompt) ;bash - ; user- bash.$, admin - bash#;prompt ; prompt - "$", "#" prompt">"- prompt- , prompt ( )
- 1 { ; ;if ( )_();else{ ;if ( ) - shell ;else{ ;if ( ) wait();}}}
: MS-DOS format- "format".com, .bat, .exe ; Linux: CP-, "CP"
- - - / (background mode) - ; "" , , - wait() - system call,
- 2 diff : if ( - ) -subshell, ;else exec;if (! )wait()
1
II - -
- I : shell
-
Os1 -
http://fmi.wikidot.com/os1[5/6/2012 4:28:52 PM]
II : - I : ()II : - I : -:II : - II :
; II default
page revision: 20, last edited: 8 May 2009, 16:54 GMT+02 (1093 days ago)
Edit Rate (0) Tags Discuss (0) History Files Print Sitetools + Options
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
Help | Terms of Service | Privacy | Report a bug | Flag as objectionablePowered by Wikidot.com
Other interesting sites
Surreal64 CENintendo 64 Emulation for
XBOX
The Arcana WikiDistilling the Real World for
Gaming
Steel and StoneWagering Lives to the Blade
Strathview - WebDevelopment and Online
DatabasesWeb Development andDatabases in the Cloud
wikidot.comOs1 -
ovL2ZtaS53aWtpZG90LmNvbS9vczEA: form1: query: Search this sitesearch: address: site-name