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?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
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