#!/bin/sh pdftk coursework.pdf cat 2-end output tmp.pdf pdftk title.pdf tmp.pdf cat output course.pdf rm tmp.pdf