I was wondering....

I read on WikiPedia that the Mac's command line was built off of Unix....So if I wanted to program for the Mac's command line, would the code be the same as for a Unix program?

Thanks!