College Courses


DateTopicLocal MaterialReferences
05-Jan-2023Introduction to the course

Common Unix commands

gcc: stages of compilation
Slides

Slides

Slides
Your past, present, and future

Sumitabha Das, Chapters 1–4, or Mark G. Sobell, Chapters 3 and 4

Brian Gough, Sections 11 and 12
12-Jan-2023More on gcc (libraries, options, preprocessor macros)SlidesBrian Gough, Sections 1–4, 10.1
19-Jan-2023Programming Assignment 1StatementSolution
02-Feb-2023Introduction to make

Introduction to gprof
Slides

Slides
Rehman and Paul, Sections 4.1–4.5

Fenlason and Stallman, Sections 1–5
05-Feb-2023Programming Assignment 2Statement

Word list
Submit by 26-Feb-2023, 11:55pm (Hard Deadline)
09-Feb-2023Introduction to gdb

Introduction to valgrind
Slides

Slides
Rehman and Paul, Sections 5.1–5.7, Persson, Chapter 12

Valgrind home, Sections 4.1–4.3 of manual, Persson, Chapter 12
02-Mar-2023Programming Assignment 3Statement

oops.zip
Solution to be posted later
02-Mar-2023Regular expressions and grepSlidesMark G. Sobell, Appendix~A, Sumitabha Das, Sections 10.1–10.4
09-Mar-2023Introduction to awkSlidesMark G. Sobell, Chapter 12, Sumitabha Das, Chapter 12
15-Mar-2023Lab Test 1 (Written)Questions with solutions
16-Mar-2023Introduction to bashSlidesMark G. Sobell, Chapter 8, Sumitabha Das, Chapter 13
23-Mar-2023Programming Assignment 4Statement

mtree.txt
Solution: bintree.awk
30-Mar-2023Programming bashSlidesMark G. Sobell, Chapter 8, Sumitabha Das, Chapter 13
06-Apr-2023Programming Assignment 5StatementSolution: fibrep.sh, loginfo.sh
13-Apr-2023Lab Test 2 (Written)Questions with solutions

Books and References

  • Sumitabha Das, Your Unix/Linux: The Ultimate Guide, third edition, McGraw Hill, 2013.
  • Jay Fenlason and Richard Stallman, GNU gprof, 1988–2021.
  • Brian Gough, An Introduction to GCC, 2004–2005.
  • Jack-Benny Persson, Linux System Programming Techniques, Packt Publishing, 2021.
  • Rafeeq Ur Rehman and Christopher Paul, The Linux Development Platform: Configuring, Using and Maintaining a Complete Programming Environment, Pearson Education, 2003.
  • Mark G. Sobell, A Practical Guide to Linux: Commands, Editors and Shell Programming, second edition, Prentice-Hall, 2010.

2 items under this folder.