1. Unit 8Editing Files 2. ObjectivesAfter completing this unit, you should be able to:• Determine the type of file using file• Edit text files with vi• Discuss other…