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

An overview of data compression techniques and common utilities such as compress, gzip, and bzip2. It also covers system backup methods using tar, cpio, dump/restore, and burning software. Details on common options for each utility and the basics of network programming for creating client-server applications.

Typology: Slides

2012/2013

Uploaded on 04/24/2013

banani
banani 🇮🇳

4.3

(3)

91 documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Chapter 12: Compression,
System Backup, and Software
installation
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

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