Grade0 / UP_Assignments

"Unix Programming" Class Assignments - ERASMUS+ Exchange @ University College Dublin

Repository from Github https://github.comGrade0/UP_AssignmentsRepository from Github https://github.comGrade0/UP_Assignments

UP_Assignments

"Unix Programming" Class Assignments - ERASMUS+ Exchange @ University College Dublin

Assignment 01 - I/O

Use getopt to accept the following optional parameters:

{ head | tail } [OPTION ] . . . [ FILE ]

Print the first | last 10 lines of FILE to standard output

Options :

-n K output the first|last K lines

-V Output version info: Your name, email, student number.

-h display and exit ( something like this )

-e|-o print even|odd lines.

The odd and even line printing maybe a little bazaar and generally useless, but it is there to test your programming. If -n 20, then your program should output 20 lines (eg. half of the first|last 40 lines). Number the first line of the file as 1 when calculating odd and even.

Assignment 02 - Simple shell

Description: [PDF]

Assignment 03 - Thread and socket

Description: [PDF]

Assignment 04 - Bash script

Description: [PDF]

Assignment 05 - Python script

Description: [PDF]

Assignment EXTRA - Concurrent synchronous buffer

Description: [PDF]

About

"Unix Programming" Class Assignments - ERASMUS+ Exchange @ University College Dublin


Languages

Language:C 77.6%Language:Python 7.4%Language:Makefile 6.7%Language:C++ 5.1%Language:Shell 3.2%