shell???? - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

shell????

Description:

– PowerPoint PPT presentation

Number of Views:72
Avg rating:3.0/5.0
Slides: 29
Provided by: lip58
Category:
Tags: shell | yacc

less

Transcript and Presenter's Notes

Title: shell????


1
??????
  • ???????????
  • (??????)
  • ???????????
  • ???????????
  • ???????????????
  • ???????????
  • ????????????????

2
?????????
????
????
?????? ?????
????
???????
??-????? ??
???? ?? ??
???? ?? ?? ?? ??
???? ?-???
??
??????
3
PC?????
4
PC?????
5
????BIOS
6
PC?????????
BIOS(F0000H-FFFFFH)
?????
7
Linux??????
8
?????????
9
???????????
10
?????????????
11
????
?????(??) ?????(??)
?????
12
Linux????
13
Linux????
14
(No Transcript)
15
??
  • ????????????????os?????
  • ?????????????????????
  • ?????????????,????????,?????????
  • ?????????????
  • ?????????????
  • ?????????????????/??????
  • ???????
  • ????P?V???(?????)
  • ???????????????????????

16
????????
  • ??????????????????
  • ??Linux?????
  • Shell???????
  • ???????????????
  • ???????????
  • Shell???????????
  • ?????????????????
  • ???????????????????????????

17
??shell????
  • Shell????Linux?????????,???shell??????????????shel
    l???,????Linux??
  • ???shell????
  • Bourne shell (sh)
  • C shell (csh)
  • Korn shell (ksh)

18
Linux??????
  • gdb????
  • gccc??c????
  • make??????
  • ????man

19
Linux?????
  • ????
  • ???????????
  • ???(yshgt)
  • ?????????
  • ?????

20
????
  • exit
  • cd
  • jobs
  • fg ltintgt
  • bg ltintgt

21
??????
  • ????
  • Control-ZSIGSTOP??
  • ??(suspend)??
  • Control-C SIGINT??
  • ????

22
shell???????(?)
  • ???????
  • ????
  • ???
  • ????( ??lt?gt? )

23
shell???????(?)
  • ????
  • Backus??
  • ????
  • ????

24
??????????
  • fork()
  • execvp()
  • exit()
  • waitpid()
  • dup()
  • pipe()
  • ??man????

25
??????yacc
  • yacc
  • ?????????,???????????????????
  • yacc?????????.y
  • ??yacc ???.y
  • ???y.tab.c??
  • ??gcc ????y.tab.c???????????(???shell??????)

26
Yacc?????????
  • C??,?include?????????
  • Yacc????????????????????
  • ???????
  • ??C??
  • main() yyparse()
  • yylex()

27
???
  • UNIX???? ???????
  • ??yacc?????
  • UNIX?????????????
  • ?????????

28
??????????
29
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com