This question already has an answer here:
- How to create a manpage? 3 answers
I know how to make commands(scripts) in Linux.
I would like to know if I could make man pages for the commands?
Google is your friend
This lays out in detail what is required. You will need to use sudo to create the pages. Use the built in editor like vim