it should be rm instead of nm
Ans should be C the head command prints the specified number of lines from the begining (here head-30 so 30 lines are to be read) rm command used to remove the file .the symbol > used to redirection of output and symbol < used to redirect the input