Write your own version of the tail command. &nbspImplement the

Write your own version of the tail command.  Implement the default behavior and the -v and -n options.default output is last 10 lines    -n# – display last # lines    -v  – display headeruse cases:   ./tail                   –displays a short help message./tail file              –displays last 10 lines of the file, all lines of the file if there is < 10 lines./tail file -v           –displays file name, and then displays last 10 lines of the file./tail file -n#          –displays last # lines of file.                           –For example, ./tail file -n12 would display the last 12 lines of the file./tail file -v -n#       –displays file name, then last # lines of file./tail file -n# -v      –displays file name, then last # lines of fileSeparate each argument with white space.No white space between n and #.For more info, man tailRun the tail command.