Thanks jsprogg
I typed source perform_NP_duplicate in the command line and that worked. once I run it, it appears in the edit tab with the other duplicate menu items. When I reopen Maya, i have to run it again. Is there a way to have it execute automatically when Maya opens? It's ok if there isn't but would be nice if it did.
Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!