1 / 17

Cmsc 312 Operating Systems

Cmsc 312 Operating Systems. UNIX?. DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free to academia Portable – C. System V Berkeley BSD Solaris Linux Xenix ,Aix. Kernel & shell. File management

turner
Download Presentation

Cmsc 312 Operating Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cmsc 312 Operating Systems

  2. UNIX? • DOS – PC? • VAX/VMS - mainframe • Unix – PC, workstation, mainframe • 1970 bell Lab • For computer scientist? • Why popular? • Free to academia • Portable – C

  3. System V • Berkeley BSD • Solaris • Linux • Xenix ,Aix

  4. Kernel & shell • File management • memory management • Process scheduling • Communication management • Shell – interactive interface • C shell Bourne shell • Graphic interface- GUI

  5. Text processing • Editor • Vi • Others • Formatter • LaTeX or TeX

  6. Login – logout (shell) • Login: accntname • Password: ******* • %prompt or machine name> Logout : logout or exit

  7. Changing your password • Passwd • Changing password for accntname • Old passwod • New password: • Retype new password;

  8. Files • File hierarchy? • /bin /etc /usr /lib /dev /home • cd change directory • % cd bin • % pwd ; display current directory • Pathnames • /home/myprogram/os312/test.c

  9. Commands • % man command • %command [option] [item] • %ls %ls –a ; hidden file • .cshrc .forward .history .login .logout • %echo hello • %who • mkdir mydirectory • rmdir

  10. Commands • % rm files • % cat • Redirect > • %cp a b • %mv a b • Wildcard *

  11. Mail – elm pico emac etc • Sendmail popserver smtp server etc

  12. Vi • Screen editor • Mode • Insertion mode I, a • Edit mode (command mode) <Esc>

  13. vi • %vi filename ;enter • <esc> :x ; leave

  14. Simple commands • %dw ;delete word • %x delete charater • %dd • 4dd

  15. File manipulation commands • %w ;save changes • %wq, x ;save and quit • %q!

  16. Position within commands • ^F forward one screen • ^B • nG go to line n • + next line, j • - previous line, k

  17. shell • Leave it as it is unless you know what you do

More Related