Giter Club home page Giter Club logo

unix-linux_systems's Introduction

UNIX-Linux_Systems

Course Objective:

To introduce the concepts, design, and structure of the UNIX operating system. To know the use of basic UNIX utilities. To know the principles of UNIX shell programming. To understand how to use system resources in C programming to implementing some of the concepts from the course Operating Systems. To know how to use POSIX threads to implement various algorithms.

Course Description:

Part One: UNIX Shell commands

  1. History of UNIX.
  2. Basic commands: ls, cp, ln, mkdir, rm, pwd, head, tail, man, date, apropos, cat, less, chmod, chown, find, xargs, sort, file, which, who.
  3. Text Manipulation: grep, regular expressions.
  4. Shell Programming: Redirection, variables, built-in commands.
  5. Shell Programming: Bash: loops, functions and arrays.

Part Two: C programming in UNIX

  1. Compiling C and Running C programs: arguments, stdio, exit codes, environment, libraries, make.
  2. File Accessing: open/close/read/write.
  3. Process Management: ps/kill, creation (system, fork, exec), signals, termination, wait, zombies.
  4. InterProcess Communication: Pipes.
  5. Threads: creation, parameters, join, return values, attributes, cancellation, sync/async, critical section, thread data, cleanup.
  6. Process and Thread Synchronization: using mutexes and conditions on pthreads.
  7. Creating and Using thread pools.

Lab:

  1. Commands in UNIX (not handed it)
  2. Command-line scripts in Bash.
  3. Bash programming: Bubble sort.
  4. C programming: Reading and Writing files in C.
  5. Create a user shell interface in C.
  6. Producer consumer problem with threads.

unix-linux_systems's People

Contributors

pplevins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.