Introduction - If you have any usage issues, please Google them yourself
Write a c language program, the program generates an executable file named tailx, mimic the linux tail command, for example: When running: tailx-4 XXX (XXX is a text file), it will print the last four lines of text file. Such as the number of lines of text printed over text, you print all text such as the number of parameters is incorrect, an error if the command specified by the file name XXX does not exist, an error.