Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AUFan

macrumors newbie
Feb 2, 2008
27
0
Hi, does anyone know where to get the most essential commands often used in Terminal when one is learning C? Thanks a lot!

Google "Unix terminal commands" , "gcc commands" , or "OS X terminal commands" , or "Mac terminal commands" and you should come up with a litany of websites that cover all the UNIX commands in terminal. I found a pretty good document searching along those lines whose title escapes me, (it's on the home comp), that did a decent job of explaining the basic commands needed to compile C programs.
 

subsonix

macrumors 68040
Feb 2, 2008
3,551
79
hoangluong, type man gcc in terminal. The man command gives you a manual for gcc in this case, but all standard c and unix commands have man pages.
 

AUFan

macrumors newbie
Feb 2, 2008
27
0
hoangluong, type man gcc in terminal. The man command gives you a manual for gcc in this case, but all standard c and unix commands have man pages.

That is another way to do it, but all man does is give you the list of commands and a little explanation. I've found you usually get better info if you google it and better explanations/examples which are useful when first starting out.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.