Advanced Unix Commands - PowerPoint PPT Presentation

About This Presentation
Title:

Advanced Unix Commands

Description:

Title: Advanced Unix Commands Author: Jim Dabrowski Last modified by: uryu Created Date: 2/9/1999 4:47:51 AM Document presentation format: (4:3) – PowerPoint PPT presentation

Number of Views:150
Avg rating:3.0/5.0
Slides: 19
Provided by: JimD95
Category:

less

Transcript and Presenter's Notes

Title: Advanced Unix Commands


1
??????????????
  • ???????????????????

2
??????
  • ???????????????
  • ??????(Bourne shell, sh)
  • ATT ? Steve Bourne ????Unix??????
  • ??????(Korn shell, ksh)
  • ATT ? David Korn ????Unix??????
  • C-shell (csh)
  • Bill Joy ? Berkeley Unix ???????????
  • Turbo C-shell (tcsh)
  • C-shell ?????????????????????
  • Bourne again shell (bash)
  • Linux ???????Bourne shell ????????

3
shell ????
  • Shell ????????????
  • ???????????
  • ??????????
  • ??????????????????????????????????????????????????
    ????
  • ????????????????????????????????????
  • ???????????????????????????????

4
?????????
  • ????(standard input)
  • stdin
  • ???????????(input)??????????
  • ??????
  • ????( standard output )
  • stdout
  • ????????????????????
  • ?????(????????)
  • ???????(standard error)
  • stderr
  • ???????????????????????????
  • ??????????

5
?????? lt, gt, gtgt
  • lt
  • ??????????????
  • ???? lt ?????
  • ??????????????????????????????????????????

6
?????? lt, gt, gtgt
  • gt
  • ???????????
  • ???? gt ?????
  • ?????????????????????????
  • ?????????????????????????
  • cat 6gatsu 7gatsu 8gatsu gt 2008_summer

7
?????? lt, gt, gtgt
  • gtgt
  • ??????????????
  • ???? gtgt ?????
  • ??????????????????????????
  • ??????????????????????????????????

8
?????????????????(??????)
  • ????????????????????????????
  • ????????????????????????????????????????????
  • pwd cal 4 2008 date

9
(????pipe)
  • ???????????????????
  • ???????????????
  • ???? ???? etc.
  • ???????????2???????????????????? ????
  • who more

10
???????(Wild-card)
  • ??????????????????????????
  • ?????3???????????????
  • ??????(Asterisk ) ??????(????(??)???)???????
  • ??????(Question mark ?) 1?????????
  • ????(square bracket ) ?????????????????
  • ??????????

11
wc
  • ???????(????????word count )
  • ???????????????
  • wc -c l w ?????
  • ?????????????????
  • ????????????????????

12
sort ????(???)
  • ??????????????
  • sort -b f n r ?????
  • ?????????????????????????????
  • ????(Flags)
  • -b ???????
  • -f ?????????????????
  • -n ??????
  • -r ????????

13
??????(??????????Job control)
  • Unix ??????(job)??????(process)??????????????(????
    ???)?
  • ???????????????????????????????????/????(job/proce
    ss)????
  • ??????????????????????????????????????????????
  • ?????????????????????(kill)??????????

14
??????(??????????Job control)
  • ctrl-c ????/????????????
  • ctrl-z ????/????????????
  • jobs
  • ????????????(?????)???????????

15
bg
  • ???????????????????????
  • ??????????ctrl-z ??????????????????
  • ???bg ????????????????????????????????????
  • jobs ???????????????????????????
  • ?????????????????????????????????????????????????
    ??????

16
fg
  • ??????????????????????????????
  • ???jobs ??????????????????????
  • fg ?????? ?????????????????????????

17
kill
  • ?????????????????????
  • jobs ?????????????????????????
  • kill ????????????
  • ?????
  • ps u ????? ?????ID??????
  • kill 9 ????ID?? ????

18
ssh ? scp
  • ?????????????(???????????)????????????,???????????
    ??????? ssh ????
  • ssh l ????? ???????????
  • ??????????????????????????????? scp ?????????
  • scp filename username_at_addressfilename
Write a Comment
User Comments (0)
About PowerShow.com