Docsity

Compression, System Backup, and Software Installation: Utilities and Options, Slides of Advanced Operating Systems

Partial preview of the text

Download Compression, System Backup, and Software Installation: Utilities and Options and more Slides Advanced Operating Systems in PDF only on Docsity!

Chapter 12: Compression,

System Backup, and Software

installation

2

Compression

  • What is compression? And why?
  • Common compression utilities
    • compress / uncompress
    • gzip / gunzip
    • bzip2 / bunzip
  • Use zcat and zmore to view compressed files
  • If compressing using bzip2 you need to use bzcat to view compressed files

4

Common Options with gzip

Command

5

Common Options with bzip

Command

7

Common Options with tar

Command

8

Common Options with tar

Command (cont.)

10

Network Programming Basics

  • Protocol stack
    • OSI
    • TCP/IP
    • Hybrid
  • Protocols working in the transport

layer: TCP/UDP

  • IPv4 and IPv
  • Differences between TCP/UDP

11

Network Programming Basics (cont)

  • Common steps for servers:
    • Create a server socket,
    • Binds it to a port
    • Receive a message from a client then display it
  • Common steps for clients:
    • Create a client socket
    • Continuously send a message to the server out of this socket