First create a file in your Home directory by name seqno.txt,just write one character the digit one( 1 ) into the file and save it.This program reads the number from the file , increments it then writes back the incremented value back into the file. This sequence o program is used to control print jobs in UNIX